mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
st/widget: Remove transitions when unmapped
This avoids having animating timelines on invisible and detached actors.
This also silences some warnings about the timeline being running
without being attached to the stage.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>
(cherry picked from commit 210754f1e9)
This commit is contained in:
parent
0c4762e85a
commit
4429957813
1 changed files with 2 additions and 0 deletions
|
|
@ -494,6 +494,8 @@ st_widget_unmap (ClutterActor *actor)
|
|||
|
||||
CLUTTER_ACTOR_CLASS (st_widget_parent_class)->unmap (actor);
|
||||
|
||||
st_widget_remove_transition (self);
|
||||
|
||||
if (priv->track_hover && priv->hover)
|
||||
st_widget_set_hover (self, FALSE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue