[gnome-shell/wip/exalm/gestures: 17/21] direction



commit e8cfc5daab867655f17ece3a9f24d3c98e4d2fcf
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Jun 25 23:17:57 2019 +0500

    direction

 js/ui/swipeTracker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js
index b47a444dd..f4cff62fb 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -94,7 +94,7 @@ var TouchSwipeGesture = GObject.registerClass({
         let [dx, dy] = this.get_motion_delta(0);
         let time = Clutter.get_current_event_time();
 
-        this.emit('update', time, -dy / this._actor.height); // TODO: the height isn't always equal to the 
actor height
+        this.emit('update', time, dy / this._actor.height); // TODO: the height isn't always equal to the 
actor height
         return true;
     }
 


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