Fix UI font size changes not applying (#25307)

Related to #24857.

Release Notes:

- N/A
This commit is contained in:
João Marcos 2025-02-21 06:24:02 -03:00 committed by GitHub
parent 4871d3c9e7
commit 5e1dd91ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 35 additions and 25 deletions

View file

@ -186,7 +186,7 @@ impl SshPrompt {
let refinement = TextStyleRefinement {
font_family: Some(theme.buffer_font.family.clone()),
font_features: Some(FontFeatures::disable_ligatures()),
font_size: Some(theme.buffer_font_size.into()),
font_size: Some(theme.buffer_font_size(cx).into()),
color: Some(cx.theme().colors().editor_foreground),
background_color: Some(gpui::transparent_black()),
..Default::default()