mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02: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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue