mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Put FontsImpl and GalleyCache behind the same Mutex
This commit is contained in:
@@ -73,6 +73,7 @@ impl super::View for FontBook {
|
||||
let named_chars = self.named_chars.entry(text_style).or_insert_with(|| {
|
||||
ui.fonts()
|
||||
.lock()
|
||||
.fonts
|
||||
.font_mut(text_style)
|
||||
.characters()
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user