@@ -647,19 +647,22 @@ FocusScope {
647 Launcher {
647 Launcher {
648 id: launcher
648 id: launcher
650+ readonly property bool dashSwipe: progress > 0
650 anchors.top: parent.top
652 anchors.top: parent.top
651 anchors.bottom: parent.bottom
653 anchors.bottom: parent.bottom
652 width: parent.width
654 width: parent.width
653 dragAreaWidth: shell.edgeSize
655 dragAreaWidth: shell.edgeSize
654 available: (!greeter.shown || greeter.narrowMode) && edgeDemo.launcherEnabled
656 available: (!greeter.shown || greeter.narrowMode) && edgeDemo.launcherEnabled
655 onDashItemSelected: showHome()
658 onDashItemSelected: showHome()
656 onDash: {
659 onDash: {
657 if (stages.shown) {
660 if (stages.shown) {
658− dash.setCurrentScope("applications.scope", true /* animate */, true /* reset */)
659 stages.hide();
661 stages.hide();
660 launcher.hide();
662 launcher.hide();
665+ onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("applications.scope", false, true)
663 onLauncherApplicationSelected:{
666 onLauncherApplicationSelected:{
664 greeter.hide()
667 greeter.hide()
665 shell.activateApplication(appId)
668 shell.activateApplication(appId)