Raise minimum line height to 1.1

Disable buffer_line_height setting in non-buffer editors
This commit is contained in:
Mikayla Maki 2023-07-19 16:55:28 -07:00
parent 7e904183bf
commit aa67413abc
No known key found for this signature in database
3 changed files with 14 additions and 3 deletions

View file

@ -1977,6 +1977,7 @@ impl Element<Editor> for EditorElement {
let snapshot = editor.snapshot(cx);
let style = self.style.clone();
let line_height = (style.text.font_size * style.line_height_scalar).round();
let gutter_padding;