animation: Remove unnecessary repaint schedule

We don't need to manually schedule a repaint after we've updated our
views - which happens as a side effect of destroying the transform/etc
within the animation.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-07-12 10:17:10 +01:00 committed by Marius Vlad
parent bd97abf18f
commit 6da16f0998

View file

@ -180,7 +180,6 @@ weston_view_animation_frame(struct weston_animation *base,
weston_spring_update(&animation->spring, time);
if (weston_spring_done(&animation->spring)) {
weston_view_schedule_repaint(animation->view);
weston_view_animation_destroy(animation);
return;
}