mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
st/scroll-view: Don't queue redraw in update_fade_effect()
ClutterEffects are responsible for queueing redraws when their properties change (and StScrollViewFade is a good citizen already), also Clutter itself should queue a redraw when adding/removing an effect. Users of Clutter should never have to queue redraws themselves (unless they're implementing a custom ClutterEffect or ClutterContent), so don't queue a redraw here. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2189>
This commit is contained in:
parent
0b9b13942a
commit
8f4427f87b
1 changed files with 0 additions and 2 deletions
|
|
@ -206,8 +206,6 @@ st_scroll_view_update_fade_effect (StScrollView *scroll,
|
|||
priv->fade_effect = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
clutter_actor_queue_redraw (CLUTTER_ACTOR (scroll));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue