add opacity animator fadein/out
commit394aa6a1e8c360a3c81e7bc4f0c3c907cf1d666f
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateTue 10 May 2016, 12:59 (10 years ago)
parent2367688
qml/Components/KeyboardShortcutsOverlay.qml+1−1
@@ -71,7 +71,7 @@ Rectangle {
7171 }
7272
7373 Label {
74− text: i18n.tr("Ctrl + PrtScr")
74+ text: i18n.tr("Alt + PrtScr")
7575 fontSize: "small"
7676 font.weight: Font.Medium
7777 }
qml/Shell.qml+4−1
@@ -623,7 +623,10 @@ Item {
623623 enabled: visible
624624 anchors.centerIn: parent
625625 anchors.horizontalCenterOffset: launcher.lockedVisible ? launcher.panelWidth/2 : 0
626− opacity: 0.95
626+ opacity: visible? 0.95 : 0
627+ Behavior on opacity {
628+ OpacityAnimator { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }
629+ }
627630 }
628631
629632 Tutorial {