Skip to content

Commit ea7c2cd

Browse files
author
John Murray
committed
Re-instate image annimations in LED digits
1 parent 56d8109 commit ea7c2cd

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

NfcRaceTimeWay/assets/LedDigit.qml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ ImageView {
1818
preferredWidth: 88
1919
preferredHeight: 132
2020
imageSource: regDetails.digit[0]
21-
// onImageSourceChanged: {
22-
// animation.play ()
23-
// }
24-
// attachedObjects: [
25-
// SequentialAnimation {
26-
// id: animation
27-
// animations: [
28-
// ScaleTransition {
29-
// duration: 500
30-
// toX: 1.0
31-
// fromX: 0.0
32-
// toY: 1.0
33-
// fromY: 0.0
34-
// }
35-
// ]
36-
// }
37-
// ]
21+
onImageSourceChanged: {
22+
animation.play ()
23+
}
24+
attachedObjects: [
25+
SequentialAnimation {
26+
id: animation
27+
animations: [
28+
ScaleTransition {
29+
duration: 500
30+
toX: 1.0
31+
fromX: 0.0
32+
toY: 1.0
33+
fromY: 0.0
34+
}
35+
]
36+
}
37+
]
3838
}

0 commit comments

Comments
 (0)