1
0
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:
Emil Ernerfeldt
2022-01-22 15:20:47 +01:00
parent 93d5e222db
commit 67c58ace27
4 changed files with 48 additions and 44 deletions

View File

@@ -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()