[gnome-shell/wip/exalm/gestures: 18/21] dy



commit c2138d97fa1b642451dc56903808d476a7aac181
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]