Raise minimum line height to 1.1
Disable buffer_line_height setting in non-buffer editors
This commit is contained in:
parent
7e904183bf
commit
aa67413abc
3 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue