on xenial help sign in
Improve logic of hiding launcher
commitc2256a82ef1b3aac4605fba44bc378a308dccab2 authorAndrea Cimitan <andrea.cimitan@canonical.com> dateTue 27 Aug 2013, 17:04 (13 years ago) parentd6c379f
1 file changed+7−1
Launcher/Launcher.qml+7−1
Launcher/Launcher.qml+7−1
@@ -149,7 +149,7 @@ Item {
149149 bottom: parent.bottom
150150 }
151151 x: -width
152− visible: x > -width
152+ opacity: (x == -width && dragArea.status === DirectionalDragArea.WaitingForTouch) ? 0 : 1
153153 model: LauncherModel
154154
155155 property bool animate: true
@@ -176,6 +176,12 @@ Item {
176176 easing.type: Easing.OutCubic
177177 }
178178 }
179+
180+ Behavior on opacity {
181+ NumberAnimation {
182+ duration: UbuntuAnimation.FastDuration; easing.type: Easing.OutCubic
183+ }
184+ }
179185 }
180186
181187 EdgeDragArea {