1
1
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:
Wez Furlong 2021-03-22 22:49:31 -07:00
parent d350709d2f
commit be8c3be910

View File

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