Ubuntu Pastebin

Paste from josharenson at Tue, 19 Jul 2016 17:46:12 +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
=== modified file 'qml/Dash/ScopesList.qml'
--- qml/Dash/ScopesList.qml	2016-06-22 23:21:59 +0000
+++ qml/Dash/ScopesList.qml	2016-07-19 15:29:18 +0000
@@ -66,6 +66,9 @@
             if (backIsClose) {
                 root.state = "browse"
             } else {
+                if (flickable.contentY > 0) {
+                    flickable.clip = true;
+                }
                 root.backClicked()
             }
         }
@@ -92,7 +95,9 @@
             objectName: "scopesListFlickable"
 
             anchors.fill: parent
-            clip: true
+
+            // Reset to false each time the list is opened. See header.onBackClicked
+            clip: !visible
             contentWidth: root.width
             contentHeight: column.height
             onContentHeightChanged: returnToBounds();
Download as text