mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +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);
|
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.
|
/// Update the configuration.
|
||||||
|
@ -839,6 +839,9 @@ fn prepKittyGraphics(
|
|||||||
self.image_text_end = @intCast(i);
|
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
|
/// rebuildCells rebuilds all the GPU cells from our CPU state. This is a
|
||||||
|
Reference in New Issue
Block a user