mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 11:28:28 +00:00
Revert "feat: improve tab switching with trackpad"
This commit is contained in:
@@ -466,10 +466,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||||||
this._swipeState.direction = delta > 0 ? 'left' : 'right';
|
this._swipeState.direction = delta > 0 ? 'left' : 'right';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Math.abs(translateX) >= 40) {
|
|
||||||
return this._handleSwipeEnd(event);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Apply a translateX to the tab strip to give the user feedback on the swipe
|
// Apply a translateX to the tab strip to give the user feedback on the swipe
|
||||||
const currentWorkspace = this.activeWorkspace;
|
const currentWorkspace = this.activeWorkspace;
|
||||||
this._organizeWorkspaceStripLocations({ uuid: currentWorkspace }, true, translateX);
|
this._organizeWorkspaceStripLocations({ uuid: currentWorkspace }, true, translateX);
|
||||||
|
Reference in New Issue
Block a user