Skip to content

Commit

Permalink
Small changes here and there
Browse files Browse the repository at this point in the history
  • Loading branch information
teamcons committed Dec 4, 2024
1 parent 53e526b commit b4d4419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/Panel.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 () > 1) { // Balance between reactive and ignoring misinput
current_scroll_delta = 0;
}
});
Expand Down

0 comments on commit b4d4419

Please sign in to comment.