mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 18:37:50 +00:00
reset a few more image fields
This commit is contained in:
parent
55f1ab3843
commit
dc0bcbcec3
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue