Revert "feat: improve tab switching with trackpad"

This commit is contained in:
mr. m 2025-04-17 04:45:17 -07:00 committed by GitHub
parent 7abb2edb2f
commit d695ddb91a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -466,10 +466,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
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
const currentWorkspace = this.activeWorkspace;
this._organizeWorkspaceStripLocations({ uuid: currentWorkspace }, true, translateX);