Files
oak-gpui/crates
Danilo Leal 4e1bb68620 Use buffer font for the inline assistant (#17875)
Closes https://github.com/zed-industries/zed/issues/17738

This PR is motivated by having also noticed what the issue above
mentions. Looked it further and it does seem the inline assistant had a
slightly bigger font-size even though it was using the configured UI
font-size as per https://github.com/zed-industries/zed/pull/17542. I'm
not sure why that was, technically speaking. However, I ended up
realizing that, given we're within the editor, it'd make more sense to
use the buffer font instead. With this change, the size mismatch seems
to be gone.

<img width="900" alt="Screenshot 2024-09-16 at 2 13 28 PM"
src="https://github.com/user-attachments/assets/fe2f3096-d5dd-4986-ba96-f2ca7578d84d">

Release Notes:

- N/A
2024-09-16 09:28:27 -03:00
..
2024-09-13 13:17:49 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 21:12:29 -04:00
2024-09-13 13:17:49 -04:00
2024-09-13 13:17:49 -04:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-09-13 13:17:49 -04:00
2024-09-13 13:17:49 -04:00
2024-03-11 10:45:57 +01:00
2024-09-10 15:51:01 -04:00
2024-07-15 17:04:15 -06:00
2024-09-13 13:17:49 -04:00
2024-09-10 15:51:01 -04:00
2024-09-07 19:58:28 -04:00
2024-09-13 13:17:49 -04:00
2024-09-13 21:12:29 -04:00
2024-09-16 08:12:07 -03:00
2024-09-13 21:12:29 -04:00
2024-09-13 13:17:49 -04:00