Skip to content

Commit 51b38f8

Browse files
teamconsalainm23zeebok
authored
Snappier "top panel workspace scroll" (#590)
* Update Panel.vala * Update Panel.vala * tests for scroll * Small changes here and there * Small changes here and there --------- Co-authored-by: Alain <[email protected]> Co-authored-by: Ryan Kornheisl <[email protected]>
1 parent 3422e36 commit 51b38f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/Panel.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class Wingpanel.Widgets.Panel : Gtk.EventBox {
9898

9999
current_scroll_delta += dx + dy;
100100

101-
if (current_scroll_delta.abs () > 10) { //TODO: Check whether 10 is good here.
101+
if (current_scroll_delta.abs () > 1) { // Balance between reactive and ignoring misinput
102102
current_scroll_delta = 0;
103103
}
104104
});

0 commit comments

Comments
 (0)