mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Remove RwLock around Font::characters
This commit is contained in:
@@ -73,7 +73,7 @@ impl super::View for FontBook {
|
||||
let named_chars = self.named_chars.entry(text_style).or_insert_with(|| {
|
||||
ui.fonts()
|
||||
.lock()
|
||||
.font(text_style)
|
||||
.font_mut(text_style)
|
||||
.characters()
|
||||
.iter()
|
||||
.filter(|chr| !chr.is_whitespace() && !chr.is_ascii_control())
|
||||
|
||||
Reference in New Issue
Block a user