Fix some animations pausing before starting
This commit is contained in:
parent
779a7b7deb
commit
a548e3eb4d
@ -1252,7 +1252,7 @@ handle_animation_control_command(GraphicsManager *self, bool *is_dirty, const Gr
|
||||
if (img->animation_state == ANIMATION_STOPPED) {
|
||||
img->current_loop = 0;
|
||||
} else {
|
||||
if (old_state == ANIMATION_STOPPED) img->current_frame_shown_at = monotonic();
|
||||
if (old_state == ANIMATION_STOPPED) { img->current_frame_shown_at = monotonic(); img->is_drawn = true; }
|
||||
self->has_images_needing_animation = true;
|
||||
global_state.check_for_active_animated_images = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user