on xenial help sign in
Make it look better when logging in via launcher swipe
67edc49Michael Terry
qml/Shell.qml+4−2
@@ -378,7 +378,7 @@ FocusScope {
378
378
379 Behavior on x {SmoothedAnimation{velocity: 600}}
379 Behavior on x {SmoothedAnimation{velocity: 600}}
380
380
381− readonly property real showProgress: x === 0.0 ? greeter.showProgress : (1 - x/width)
381+ readonly property real showProgress: MathUtils.clamp((1 - x/width) + greeter.showProgress - 1, 0, 1)
382
382
383 Greeter {
383 Greeter {
384 id: greeter
384 id: greeter
@@ -567,8 +567,10 @@ FocusScope {
567 launcher.hide();
567 launcher.hide();
568 }
568 }
569 }
569 }
570− if (greeter.shown)
570+ if (greeter.shown) {
571 greeter.hideRight();
571 greeter.hideRight();
572+ launcher.hide();
573+ }
572 }
574 }
573 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
575 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
574 onLauncherApplicationSelected:{
576 onLauncherApplicationSelected:{