Make animation slightly less jank
commitcb811e08ca6edb6fda6ccd20c630ce2cf7c91d73
authorJosh Arenson <joshua.arenson@canonical.com>
dateThu 14 Jul 2016, 13:28 (10 years ago)
parentc641e76
qml/Greeter/WideView.qml+3−5
@@ -153,14 +153,12 @@ FocusScope {
153153 height: inputMethod && inputMethod.visible ?
154154 parent.height - inputMethod.keyboardRectangle.height : parent.height
155155
156− Behavior on height { UbuntuNumberAnimation {} }
157−
158156 UbuntuNumberAnimation {
159157 id: loadingAnimation
160158 target: loginAreaLoader.item
161− property: "x"
162− from: loader.item ? loader.item.width : 0
163− to: 0
159+ property: "opacity"
160+ from: 0
161+ to: 1
164162 running: false
165163 }
166164