Abandon ship
This commit is contained in:
parent
6b25841e2a
commit
1109cd11c8
5 changed files with 1247 additions and 1249 deletions
|
@ -1449,7 +1449,6 @@ impl EditorElement {
|
|||
let snapshot = editor.snapshot(cx);
|
||||
let style = self.style.clone();
|
||||
|
||||
dbg!(&style.text.font());
|
||||
let font_id = cx.text_system().font_id(&style.text.font()).unwrap();
|
||||
let font_size = style.text.font_size.to_pixels(cx.rem_size());
|
||||
let line_height = style.text.line_height_in_pixels(cx.rem_size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue