mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Wrap Fonts in a Mutex
This commit is contained in:
@@ -72,6 +72,7 @@ impl super::View for FontBook {
|
||||
let filter = &self.filter;
|
||||
let named_chars = self.named_chars.entry(text_style).or_insert_with(|| {
|
||||
ui.fonts()
|
||||
.lock()
|
||||
.font(text_style)
|
||||
.characters()
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user