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



commit 860142d321f84822d8810bbf05c494c0342a7573
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Wed Jun 26 14:35:55 2019 +0500

    oops

 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 ea3b39e09..6fcc988d7 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -94,7 +94,7 @@ var TouchSwipeGesture = GObject.registerClass({
 
         let time = this.get_last_event(point).get_time();
 
-        this.emit('update', time, -dy / global.screen_height - Main.panel.height); // TODO: the height isn't 
always equal to the actor height
+        this.emit('update', time, -dy / (global.screen_height - Main.panel.height)); // TODO: the height 
isn't always equal to the actor height
     }
 
     vfunc_gesture_end(actor, point) {


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