on xenial help sign in
Make swipe hint pulse in opacity
b7eee0cMichael Terry
qml/Greeter/Greeter.qml+16−19
@@ -98,28 +98,25 @@ Showable {
98 anchors.bottomMargin: units.gu(5)
98 anchors.bottomMargin: units.gu(5)
99 text: i18n.tr("Swipe to unlock")
99 text: i18n.tr("Swipe to unlock")
100 color: "white"
100 color: "white"
101− }
102
101
103− SequentialAnimation {
102+ SequentialAnimation on opacity {
104− id: showLabelAnimation
103+ id: showLabelAnimation
104+ running: false
105+ loops: 2
105
106
106− PropertyAnimation {
107+ StandardAnimation {
107− target: swipeHint
108− property: "opacity"
109− from: 0.0
108+ from: 0.0
110− to: swipeHint.baseOpacity
109+ to: swipeHint.baseOpacity
111− duration: UbuntuAnimation.SlowDuration
110+ duration: UbuntuAnimation.SleepyDuration
112− }
111+ }
113− PropertyAnimation {
112+ PauseAnimation { duration: UbuntuAnimation.BriskDuration }
114− duration: 10000
113+ StandardAnimation {
115− }
116− PropertyAnimation {
117− target: swipeHint
118− property: "opacity"
119− from: swipeHint.baseOpacity
114+ from: swipeHint.baseOpacity
120− to: 0.0
115+ to: 0.0
121− duration: UbuntuAnimation.SlowDuration
116+ duration: UbuntuAnimation.SleepyDuration
117+ }
122 }
118 }
119+
123 }
120 }
124
121
125 // Bi-directional revealer
122 // Bi-directional revealer