on xenial help sign in
Fix mess
986375dJosh Arenson
qml/Shell.qml+8−1
@@ -552,7 +552,14 @@ Item {
552 id: launcher
552 id: launcher
553 objectName: "launcher"
553 objectName: "launcher"
554
554
555+ /*
556+ * Since the Dash doesn't have the same controll over surfaces that the
557+ * Shell does, it can't slowly move the scope out of the way, as the shell
558+ * does with apps, and the dash is show instantly. This allows for some
559+ * leeway and prevents accidental home swipes.
560+ */
561+ readonly property real offset: shell.focusedApplicationId == "unity8-dash" ? units.gu(12) : 0
555− readonly property bool dashSwipe: progress > 0
562+ readonly property bool dashSwipe: progress > offset
556
563
557 anchors.top: parent.top
564 anchors.top: parent.top
558 anchors.topMargin: inverted ? 0 : panel.panelHeight
565 anchors.topMargin: inverted ? 0 : panel.panelHeight