[gtk/listview-dnd: 3/4] listbase: Increate the autoscroll threshold
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/listview-dnd: 3/4] listbase: Increate the autoscroll threshold
- Date: Fri, 19 Jun 2020 12:53:01 +0000 (UTC)
commit 66f6c3a609e0be9905266f8a7ba801cffbd8f479
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 19 08:19:34 2020 -0400
listbase: Increate the autoscroll threshold
With autoscroll during DND, we stop when you hid 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 885fbc11df..d05659c941 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]