scrolledwindow: Fix indicator revealing
authorTimm Bäder <mail@baedert.org>
Wed, 11 Apr 2018 17:14:09 +0000 (19:14 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 11 Apr 2018 17:14:55 +0000 (19:14 +0200)
We need to increase the scrollbar bounds size.

gtk/gtkscrolledwindow.c

index 9da2d1ea82e3d91b9deae6ef4f35c3f3fd322067..3ce14b5f845cda95b9c31b1d31ecbda710f1adc6 100644 (file)
@@ -1077,7 +1077,7 @@ event_close_to_indicator (GtkScrolledWindow *sw,
   else
     distance = INDICATOR_CLOSE_DISTANCE;
 
-  graphene_rect_inset (&indicator_bounds, distance, distance);
+  graphene_rect_inset (&indicator_bounds, - distance, - distance);
 
   if (indicator == &priv->hindicator)
     {