mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-06 21:37:50 +00:00
Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a5b67a4207
commit
dbdf154e42
@@ -254,6 +254,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
// Determine swipe direction based on cumulative delta
|
||||
if (Math.abs(this._swipeState.cumulativeDelta) > 0.25) {
|
||||
this._swipeState.direction = this._swipeState.cumulativeDelta > 0 ? 'right' : 'left';
|
||||
if (this.naturalScroll){
|
||||
this._swipeState.direction = this._swipeState.cumulativeDelta > 0 ? 'left' : 'right';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user