on xenial help sign in
Refactor "orange" to activityPulse
2c6be9dJosh Arenson
qml/Dash/Dash.qml+7−7
@@ -293,7 +293,7 @@ Showable {
293 }
293 }
294
294
295 Rectangle {
295 Rectangle {
296− id: orange
296+ id: activityPulse
297 anchors { top: parent.top; bottom: parent.bottom }
297 anchors { top: parent.top; bottom: parent.bottom }
298 width: parent.width / 4
298 width: parent.width / 4
299 color: UbuntuColors.blue
299 color: UbuntuColors.blue
@@ -302,18 +302,18 @@ Showable {
302 running: indicator.visible
302 running: indicator.visible
303 loops: Animation.Infinite
303 loops: Animation.Infinite
304 XAnimator {
304 XAnimator {
305− from: -orange.width / 2
305+ from: -activityPulse.width / 2
306− to: indicator.width - orange.width / 2
306+ to: indicator.width - activityPulse.width / 2
307 duration: UbuntuAnimation.SleepyDuration
307 duration: UbuntuAnimation.SleepyDuration
308 easing.type: Easing.InOutSine
308 easing.type: Easing.InOutSine
309− target: orange
309+ target: activityPulse
310 }
310 }
311 XAnimator {
311 XAnimator {
312− from: indicator.width - orange.width / 2
312+ from: indicator.width - activityPulse.width / 2
313− to: -orange.width / 2
313+ to: -activityPulse.width / 2
314 duration: UbuntuAnimation.SleepyDuration
314 duration: UbuntuAnimation.SleepyDuration
315 easing.type: Easing.InOutSine
315 easing.type: Easing.InOutSine
316− target: orange
316+ target: activityPulse
317 }
317 }
318 }
318 }
319 }
319 }