Skip to content

Commit bd6e478

Browse files
committed
Added 4 finger Vertical gesture for app navigation
1 parent 73b434d commit bd6e478

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extension/src/forwardBack.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export class ForwardBackGestureExtension implements ISubExtension {
4848

4949
this._swipeTracker = createSwipeTracker(
5050
global.stage,
51-
ExtSettings.DEFAULT_SESSION_WORKSPACE_GESTURE ? [4] : [3],
51+
ExtSettings.DEFAULT_OVERVIEW_GESTURE ? [4] : [3],
5252
Shell.ActionMode.NORMAL,
53-
Clutter.Orientation.HORIZONTAL,
54-
false,
53+
ExtSettings.DEFAULT_OVERVIEW_GESTURE ? Clutter.Orientation.VERTICAL : Clutter.Orientation.HORIZONTAL,
54+
ExtSettings.DEFAULT_OVERVIEW_GESTURE ? true : false,
5555
1,
5656
{ allowTouch: false },
5757
);
@@ -183,4 +183,4 @@ export class ForwardBackGestureExtension implements ISubExtension {
183183
// default key bind
184184
return [gestureDirection === SwipeGestureDirection.LeftToRight ? Clutter.KEY_Back : Clutter.KEY_Forward];
185185
}
186-
}
186+
}

0 commit comments

Comments
 (0)