[gtk/listview-dnd: 12/13] columnview: Increase the autoscroll threshold



commit 53f93dfd8fdd02ff5888dbb1016344aa607e02f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 19 12:23:28 2020 -0400

    columnview: 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/gtkcolumnview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c
index 1b6be13a44..48f785d34a 100644
--- a/gtk/gtkcolumnview.c
+++ b/gtk/gtkcolumnview.c
@@ -779,7 +779,7 @@ remove_autoscroll (GtkColumnView *self)
     }
 }
 
-#define SCROLL_EDGE_SIZE 15
+#define SCROLL_EDGE_SIZE 30
 
 static void
 update_autoscroll (GtkColumnView *self,


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