on xenial help sign in
fix drawer being shown at startup
commit8fd37f86b1c686712ffa15f8aa44b43b258c8518 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 25 Nov 2016, 14:45 (10 years ago) parent71cf8c5
1 file changed+7−8
qml/Launcher/Launcher.qml+7−8
qml/Launcher/Launcher.qml+7−8
@@ -376,14 +376,6 @@ FocusScope {
376376 }
377377 }
378378 }
379−
380− Behavior on x {
381− enabled: !dragArea.dragging && !launcherDragArea.drag.active && !drawer.draggingHorizontally
382− NumberAnimation {
383− duration: 300
384− easing.type: Easing.OutCubic
385− }
386− }
387379 }
388380
389381 LauncherPanel {
@@ -587,4 +579,11 @@ FocusScope {
587579 }
588580 }
589581 ]
582+ transitions: [
583+ Transition {
584+ from: "*"
585+ to: "*"
586+ UbuntuNumberAnimation { target: drawer; property: "x"; easing: Easing.OutQuad; duration: 300 }
587+ }
588+ ]
590589}