diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-03-11 12:34:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 12:34:15 +0300 |
commit | 7312f33f6711cccd04c3e34d25b9b11514cbb90e (patch) | |
tree | a5cbddcbf1cac197abef20e645ccb0ee8d9889d3 /alacritty/src | |
parent | 0965773657b9d3cc6917cf980110509dcc82426f (diff) | |
download | r-alacritty-7312f33f6711cccd04c3e34d25b9b11514cbb90e.tar.gz r-alacritty-7312f33f6711cccd04c3e34d25b9b11514cbb90e.tar.bz2 r-alacritty-7312f33f6711cccd04c3e34d25b9b11514cbb90e.zip |
Fix `font.glyph_offset` not live reloading
Fixes #5944.
Diffstat (limited to 'alacritty/src')
-rw-r--r-- | alacritty/src/renderer/text/glyph_cache.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty/src/renderer/text/glyph_cache.rs b/alacritty/src/renderer/text/glyph_cache.rs index c75cad7a..b57b10b7 100644 --- a/alacritty/src/renderer/text/glyph_cache.rs +++ b/alacritty/src/renderer/text/glyph_cache.rs @@ -281,6 +281,7 @@ impl GlyphCache { // Update dpi scaling. self.rasterizer.update_dpr(scale_factor as f32); self.font_offset = font.offset; + self.glyph_offset = font.glyph_offset; // Recompute font keys. let (regular, bold, italic, bold_italic) = |