mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
renderer/metal: reset cells when font size changes to avoid blank
Fixes #1743
This commit is contained in:
@ -812,6 +812,9 @@ pub fn setFontGrid(self: *Metal, grid: *font.SharedGrid) void {
|
||||
log.err("error resizing cells buffer err={}", .{err});
|
||||
};
|
||||
|
||||
// Reset our viewport to force a rebuild
|
||||
self.cells_viewport = null;
|
||||
|
||||
// Update our uniforms
|
||||
self.uniforms = .{
|
||||
.projection_matrix = self.uniforms.projection_matrix,
|
||||
|
Reference in New Issue
Block a user