From c3fdcb869fb0ba77ec5ca3f70e2b0e121c46b2f0 Mon Sep 17 00:00:00 2001 From: teamcons Date: Sat, 30 Nov 2024 19:25:20 +0100 Subject: [PATCH] tests for scroll --- src/Widgets/Panel.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/Panel.vala b/src/Widgets/Panel.vala index 9982c7b1..0ece1e5e 100644 --- a/src/Widgets/Panel.vala +++ b/src/Widgets/Panel.vala @@ -98,7 +98,7 @@ public class Wingpanel.Widgets.Panel : Gtk.EventBox { current_scroll_delta += dx + dy; - if (current_scroll_delta.abs () > 2) { //TODO: Check whether 10 is good here. + if (current_scroll_delta.abs () > 3) { //TODO: Check whether 10 is good here. current_scroll_delta = 0; } });