[gtk/listview-dnd: 8/13] listbase: Increase the autoscroll threshold



commit 2e4c62e965d5a9ec0ca4314b2272ec4bf05d64c9
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 19 08:19:34 2020 -0400

    listbase: Increase the autoscroll threshold
    
    With autoscroll during DND, we stop when you hit the edge
    of the widget, so a larger threshold makes sense to avoid
    hitting the edge by accident.

 gtk/gtklistbase.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistbase.c b/gtk/gtklistbase.c
index 4698682db1..5e2eb3fb39 100644
--- a/gtk/gtklistbase.c
+++ b/gtk/gtklistbase.c
@@ -1296,7 +1296,7 @@ remove_autoscroll (GtkListBase *self)
     }
 }
 
-#define SCROLL_EDGE_SIZE 15
+#define SCROLL_EDGE_SIZE 30
 
 static void
 update_autoscroll (GtkListBase *self,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]