forked from AuroraMiddleware/gtk
Make overlay scrollbar fading interruptible
When the pointer starts hovering the scrollbar after it already started fading out, interrupt the fade and keep the scrollbar around.
This commit is contained in:
parent
95b075b8eb
commit
a7173d097f
@ -3519,6 +3519,7 @@ indicator_enter_notify (GtkWidget *scrollbar,
|
||||
gtk_style_context_add_class (context, "hovering");
|
||||
gtk_widget_queue_resize (scrollbar);
|
||||
indicator->over = TRUE;
|
||||
indicator_start_fade (indicator, 1.0);
|
||||
|
||||
return G_SOURCE_CONTINUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user