This commit is contained in:
Mikayla Maki 2023-07-19 16:56:49 -07:00
parent aa67413abc
commit cb97f5a69c
No known key found for this signature in database

View File

@ -8171,9 +8171,9 @@ fn build_style(
line_height_scalar = match mode { line_height_scalar = match mode {
EditorMode::Full => line_height_scalar, EditorMode::Full => line_height_scalar,
EditorMode::AutoHeight { .. } | EditorMode::SingleLine => { EditorMode::AutoHeight { .. } | EditorMode::SingleLine => cx
cx.font_cache().line_height(field_editor_theme.text.font_size) .font_cache()
} .line_height(field_editor_theme.text.font_size),
}; };
EditorStyle { EditorStyle {