mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
renderer: handle Kitty images where z < 0 for all placements
This commit is contained in:
@ -1214,6 +1214,9 @@ fn prepKittyGraphics(
|
||||
self.image_text_end = @intCast(i);
|
||||
}
|
||||
}
|
||||
if (self.image_text_end == 0) {
|
||||
self.image_text_end = @intCast(self.image_placements.items.len);
|
||||
}
|
||||
}
|
||||
|
||||
/// Update the configuration.
|
||||
|
@ -839,6 +839,9 @@ fn prepKittyGraphics(
|
||||
self.image_text_end = @intCast(i);
|
||||
}
|
||||
}
|
||||
if (self.image_text_end == 0) {
|
||||
self.image_text_end = @intCast(self.image_placements.items.len);
|
||||
}
|
||||
}
|
||||
|
||||
/// rebuildCells rebuilds all the GPU cells from our CPU state. This is a
|
||||
|
Reference in New Issue
Block a user