Keep basic line height for single line editors
This commit is contained in:
@@ -8170,8 +8170,8 @@ fn build_style(
|
|||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
line_height_scalar = match mode {
|
line_height_scalar = match mode {
|
||||||
EditorMode::Full => line_height_scalar,
|
EditorMode::SingleLine | EditorMode::Full => line_height_scalar,
|
||||||
EditorMode::AutoHeight { .. } | EditorMode::SingleLine => cx
|
EditorMode::AutoHeight { .. } => cx
|
||||||
.font_cache()
|
.font_cache()
|
||||||
.line_height(field_editor_theme.text.font_size),
|
.line_height(field_editor_theme.text.font_size),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user