Adjust workspace tab behavior and refine swipe sensitivity thresholds

This commit is contained in:
mr. M
2025-01-30 07:10:35 +01:00
parent 93ab8babbc
commit 3413399dfa
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ pref('zen.workspaces.hide-default-container-indicator', true);
pref('zen.workspaces.individual-pinned-tabs', true);
pref('zen.workspaces.show-icon-strip', true);
pref('zen.workspaces.force-container-workspace', false);
pref('zen.workspaces.open-new-tab-if-last-unpinned-tab-is-closed', true);
pref('zen.workspaces.open-new-tab-if-last-unpinned-tab-is-closed', false);
pref('zen.workspaces.show-workspace-indicator', true);
pref('zen.workspaces.swipe-actions', true);
pref('zen.workspaces.wrap-around-navigation', true);

View File

@@ -246,7 +246,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
this._swipeState.cumulativeDelta += event.delta;
// Determine swipe direction based on cumulative delta
if (Math.abs(this._swipeState.cumulativeDelta) > 1.5) {
if (Math.abs(this._swipeState.cumulativeDelta) > 1) {
this._swipeState.direction = this._swipeState.cumulativeDelta > 0 ? 'left' : 'right';
}