1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

refactor fonts: put TextStyle in Galley instead of in Shape::Text

This commit is contained in:
Emil Ernerfeldt
2021-03-29 21:24:09 +02:00
parent ade41403b5
commit d4e5133da2
14 changed files with 61 additions and 50 deletions

View File

@@ -221,7 +221,7 @@ impl Fonts {
.map(|font_name| font_impl_cache.font_impl(font_name, scale_in_points))
.collect();
(text_style, Font::new(fonts))
(text_style, Font::new(text_style, fonts))
})
.collect();