[gnome-shell/wip/beniofel/gesture: 283/283] magnify 4 finger swipe gesture by 1.5



commit 920b1697098245fdfd65ca334d23fff9bd624e20
Author: Ben Iofel <iofelben gmail com>
Date:   Tue Aug 1 12:15:59 2017 +0100

    magnify 4 finger swipe gesture by 1.5

 js/ui/windowManager.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 5120361..776d88f 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -523,7 +523,7 @@ var TouchpadWorkspaceSwitchAction = new Lang.Class({
             this._dx += dx;
             this._dy += dy;
 
-            workspacesDisplay._onPan(dy);
+            workspacesDisplay._onPan(dy * 1.5);
         } else if (event.get_gesture_phase() == Clutter.TouchpadGesturePhase.CANCEL) {
             workspacesDisplay._onPanCancel();
         } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]