Merge branch 'main' into element-types
This commit is contained in:
commit
7f72df6dcf
27 changed files with 3714 additions and 1471 deletions
|
@ -1448,6 +1448,7 @@ impl EditorElement {
|
|||
|
||||
let snapshot = editor.snapshot(cx);
|
||||
let style = self.style.clone();
|
||||
|
||||
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