mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
clear no_glyphs cache when font scale changes
refs: https://github.com/wez/wezterm/issues/508
This commit is contained in:
parent
d350709d2f
commit
be8c3be910
@ -360,6 +360,7 @@ impl FontConfigInner {
|
||||
*self.font_scale.borrow_mut() = font_scale;
|
||||
self.fonts.borrow_mut().clear();
|
||||
self.metrics.borrow_mut().take();
|
||||
self.no_glyphs.borrow_mut().clear();
|
||||
|
||||
(prior_font, prior_dpi)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user