mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Fix animated images sometimes not auto playing or auto playing at the wrong start frame if the same image id is used for a subsequent image
This commit is contained in:
@@ -157,6 +157,8 @@ Detailed list of changes
|
|||||||
- macOS: Workaround for bug in macOS Tahoe that caused OS Windows that are
|
- macOS: Workaround for bug in macOS Tahoe that caused OS Windows that are
|
||||||
fullscreen to crash kitty when returning from sleep on some machines (:iss:`8983`)
|
fullscreen to crash kitty when returning from sleep on some machines (:iss:`8983`)
|
||||||
|
|
||||||
|
- Graphics: Fix animated images sometimes not auto playing or auto playing at the wrong start frame if the same image id is used for a subsequent image
|
||||||
|
|
||||||
0.43.1 [2025-10-01]
|
0.43.1 [2025-10-01]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -726,6 +726,7 @@ handle_add_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_
|
|||||||
img->is_drawn = false;
|
img->is_drawn = false;
|
||||||
img->current_frame_shown_at = 0;
|
img->current_frame_shown_at = 0;
|
||||||
img->extra_framecnt = 0;
|
img->extra_framecnt = 0;
|
||||||
|
img->current_frame_index = 0;
|
||||||
*is_dirty = true;
|
*is_dirty = true;
|
||||||
set_layers_dirty(self);
|
set_layers_dirty(self);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user