Don't make fonts::Features
Copy
This commit is contained in:
parent
989c9f0196
commit
4d915f4530
13 changed files with 36 additions and 44 deletions
|
@ -58,7 +58,7 @@ impl gpui::Element for TextElement {
|
|||
let font_size = 12.;
|
||||
let family = cx
|
||||
.font_cache
|
||||
.load_family(&["SF Pro Display"], Default::default())
|
||||
.load_family(&["SF Pro Display"], &Default::default())
|
||||
.unwrap();
|
||||
let normal = RunStyle {
|
||||
font_id: cx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue