diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-19 08:19:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-19 15:26:10 -0400 |
commit | c659a231d6a1c05f882d8e8db0c57b22d79f31d7 (patch) | |
tree | 2a8ba9cfa89702e8d6fa1442e3f6a44bd6f042a3 /gtk | |
parent | 4e56581222d650dde54bd2d8c58852571bdc51b2 (diff) | |
download | gtk+-c659a231d6a1c05f882d8e8db0c57b22d79f31d7.tar.gz |
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.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtklistbase.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |