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:
Matthias Clasen 2015-01-09 21:13:10 -05:00
parent 206f0bbf7f
commit 9fcbae2d85

View File

@ -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;