on xenial help sign in
Make it look better when logging in via launcher swipe
commit67edc497105d8221f52d9fbc457375bd19efc9d7 authorMichael Terry <michael.terry@canonical.com> dateThu 10 Apr 2014, 11:12 (13 years ago) parent365c2f3
1 file changed+4−2
qml/Shell.qml+4−2
qml/Shell.qml+4−2
@@ -378,7 +378,7 @@ FocusScope {
378378
379379 Behavior on x {SmoothedAnimation{velocity: 600}}
380380
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)
382382
383383 Greeter {
384384 id: greeter
@@ -567,8 +567,10 @@ FocusScope {
567567 launcher.hide();
568568 }
569569 }
570− if (greeter.shown)
570+ if (greeter.shown) {
571571 greeter.hideRight();
572+ launcher.hide();
573+ }
572574 }
573575 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
574576 onLauncherApplicationSelected:{