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:
Ashvin Jangid
2026-08-06 23:59:00 +05:30
committed by GitHub
parent d6c86f570a
commit e7a3e1ee29

View File

@@ -649,6 +649,7 @@ class nsZenWorkspaces {
if (Math.abs(delta) < scrollThreshold) {
return;
}
event.preventDefault();
// Determine scroll direction
let rawDirection = delta > 0 ? 1 : -1;