on xenial help sign in
Make swipe hint pulse in opacity
commitb7eee0caabe1512197cd7d4cd00309c6bee20351 authorMichael Terry <michael.terry@canonical.com> dateWed 19 Mar 2014, 13:11 (13 years ago) parent99b92e6
1 file changed+16−19
qml/Greeter/Greeter.qml+16−19
qml/Greeter/Greeter.qml+16−19
@@ -98,28 +98,25 @@ Showable {
9898 anchors.bottomMargin: units.gu(5)
9999 text: i18n.tr("Swipe to unlock")
100100 color: "white"
101− }
102101
103− SequentialAnimation {
104− id: showLabelAnimation
102+ SequentialAnimation on opacity {
103+ id: showLabelAnimation
104+ running: false
105+ loops: 2
105106
106− PropertyAnimation {
107− target: swipeHint
108− property: "opacity"
109− from: 0.0
110− to: swipeHint.baseOpacity
111− duration: UbuntuAnimation.SlowDuration
112− }
113− PropertyAnimation {
114− duration: 10000
115− }
116− PropertyAnimation {
117− target: swipeHint
118− property: "opacity"
119− from: swipeHint.baseOpacity
120− to: 0.0
121− duration: UbuntuAnimation.SlowDuration
107+ StandardAnimation {
108+ from: 0.0
109+ to: swipeHint.baseOpacity
110+ duration: UbuntuAnimation.SleepyDuration
111+ }
112+ PauseAnimation { duration: UbuntuAnimation.BriskDuration }
113+ StandardAnimation {
114+ from: swipeHint.baseOpacity
115+ to: 0.0
116+ duration: UbuntuAnimation.SleepyDuration
117+ }
122118 }
119+
123120 }
124121
125122 // Bi-directional revealer