mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
GtkScrolledWindow: Don't start fading right away
When we get a leave event, we need to remove the over bit, since we may not get motion events that tell us when we lose proximity, but we don't have to fade out right away - that will happen on its on due to inactivity a bit later. Having the indicator stay visible for a bit feels more relaxed.
This commit is contained in:
parent
206f0bbf7f
commit
9fcbae2d85
@ -394,9 +394,7 @@ gtk_scrolled_window_leave_notify (GtkWidget *widget,
|
||||
if (priv->use_indicators)
|
||||
{
|
||||
indicator_set_over (&priv->hindicator, FALSE);
|
||||
indicator_start_fade (&priv->hindicator, 0.0);
|
||||
indicator_set_over (&priv->vindicator, FALSE);
|
||||
indicator_start_fade (&priv->vindicator, 0.0);
|
||||
}
|
||||
|
||||
return GDK_EVENT_PROPAGATE;
|
||||
|
Loading…
Reference in New Issue
Block a user