mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-19 05:01:33 +00:00
gh-14862: Fix tab switching when switching spaces with mouse wheel (gh-14863)
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
@@ -649,6 +649,7 @@ class nsZenWorkspaces {
|
||||
if (Math.abs(delta) < scrollThreshold) {
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
|
||||
// Determine scroll direction
|
||||
let rawDirection = delta > 0 ? 1 : -1;
|
||||
|
||||
Reference in New Issue
Block a user