on xenial help sign in
don't hide the launcher when the stages are locked and user does the long left edge swipe
commit5b5bec200ae3188bfe74f2672d766589af07d269 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 20 Mar 2014, 11:21 (13 years ago) parent7df4e4d
1 file changed+5−10
qml/Shell.qml+5−10
qml/Shell.qml+5−10
@@ -250,13 +250,6 @@ FocusScope {
250250 }
251251
252252 function hide() {
253− if (locked) {
254− return;
255− }
256− forceHide();
257− }
258−
259− function forceHide() {
260253 shown = false;
261254 if (ApplicationManager.focusedApplicationId) {
262255 ApplicationManager.unfocusCurrentApplication();
@@ -444,7 +437,7 @@ FocusScope {
444437 var animate = !greeter.shown && !stages.shown
445438 greeter.hide()
446439 dash.setCurrentScope("home.scope", animate, false)
447− stages.forceHide()
440+ stages.hide()
448441 }
449442
450443 function hideIndicatorMenu(delay) {
@@ -551,8 +544,10 @@ FocusScope {
551544 }
552545 onDash: {
553546 if (stages.shown && !stages.overlayMode) {
554− stages.hide();
555− launcher.hide();
547+ if (!stages.locked) {
548+ stages.hide();
549+ launcher.hide();
550+ }
556551 }
557552 }
558553 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("applications.scope", false, true)