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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user