on xenial help sign in
don't hide launcher when nothing happens on long left edge swipes
b786cccMichael Zanetti
qml/Launcher/Launcher.qml+1−2
@@ -243,10 +243,9 @@ Item {
243 onDraggingChanged: {
243 onDraggingChanged: {
244 if (!dragging) {
244 if (!dragging) {
245 if (distance > panel.width / 2) {
245 if (distance > panel.width / 2) {
246+ root.switchToNextState("visible")
246 if (distance > minimizeDistance) {
247 if (distance > minimizeDistance) {
247 root.dash();
248 root.dash();
248− } else {
249− root.switchToNextState("visible")
250 }
249 }
251 } else {
250 } else {
252 root.switchToNextState("")
251 root.switchToNextState("")
qml/Shell.qml+5−1
@@ -533,7 +533,11 @@ Item {
533 available: edgeDemo.launcherEnabled && (!shell.locked || AccountsService.enableLauncherWhileLocked) && greeter.fakeActiveForApp === ""
533 available: edgeDemo.launcherEnabled && (!shell.locked || AccountsService.enableLauncherWhileLocked) && greeter.fakeActiveForApp === ""
534
534
535 onShowDashHome: showHome()
535 onShowDashHome: showHome()
536+ onDash: {
537+ if (ApplicationManager.focusedApplicationId != "unity8-dash") {
536− onDash: showDash()
538+ showDash()
539+ }
540+ }
537 onDashSwipeChanged: {
541 onDashSwipeChanged: {
538 if (dashSwipe && ApplicationManager.focusedApplicationId !== "unity8-dash") {
542 if (dashSwipe && ApplicationManager.focusedApplicationId !== "unity8-dash") {
539 dash.setCurrentScope("clickscope", false, true)
543 dash.setCurrentScope("clickscope", false, true)