Ubuntu Pastebin

Paste from dandrader at Tue, 7 Apr 2015 15:20:51 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
=== modified file 'qml/Launcher/Launcher.qml'
--- qml/Launcher/Launcher.qml   2015-03-12 13:04:36 +0000
+++ qml/Launcher/Launcher.qml   2015-04-07 15:13:15 +0000
@@ -280,7 +280,7 @@ Item {
 
         enabled: root.available
         x: -root.x // so if launcher is adjusted relative to screen, we
stay put (like tutorial does when teasing)
-        width: root.dragAreaWidth
+        width: root.panelWidth
         height: root.height
 
         onTouchXChanged: {
@@ -306,8 +306,9 @@ Item {
                     if (distance > minimizeDistance) {
                         root.dash();
                     }
-                } else {
-                    root.switchToNextState("")
+                } else if (root.state === "") {
+                    // didn't drag far enough. rollback
+                    root.switchToNextState("");
                 }
             }
         }
Download as text