mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 12:33:37 +00:00
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:
parent
bd97abf18f
commit
6da16f0998
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue