[gtk/listview-dnd: 4/15] listbase: Increase the autoscroll threshold



commit c659a231d6a1c05f882d8e8db0c57b22d79f31d7
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]