[gnome-shell/wip/exalm/gestures] dy



commit e9205699d6667d53a5b7e7a3a09f1bef1832d080
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Jun 25 23:20:04 2019 +0500

    dy

 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 f4cff62fb..0ed2c8782 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -91,7 +91,7 @@ var TouchSwipeGesture = GObject.registerClass({
     }
 
     vfunc_gesture_progress(actor) {
-        let [dx, dy] = this.get_motion_delta(0);
+        let [d, 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


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