mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
reset a few more image fields
This commit is contained in:
@@ -727,6 +727,9 @@ handle_add_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_
|
||||
img->current_frame_shown_at = 0;
|
||||
img->extra_framecnt = 0;
|
||||
img->current_frame_index = 0;
|
||||
img->animation_duration = 0;
|
||||
img->animation_state = ANIMATION_STOPPED;
|
||||
img->max_loops = 0; img->current_loop = 0;
|
||||
*is_dirty = true;
|
||||
set_layers_dirty(self);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user