summaryrefslogtreecommitdiffstats
path: root/examples/declarative/follow/pong.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/follow/pong.qml')
-rw-r--r--examples/declarative/follow/pong.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/follow/pong.qml b/examples/declarative/follow/pong.qml
index 582b04c..93ee6a7 100644
--- a/examples/declarative/follow/pong.qml
+++ b/examples/declarative/follow/pong.qml
@@ -16,9 +16,9 @@ Rect {
// Move the ball to the right and back to the left repeatedly
x: SequentialAnimation {
running: true; repeat: true
- NumericAnimation { to: Page.width-40; duration: 2000 }
+ NumberAnimation { to: Page.width-40; duration: 2000 }
SetPropertyAction { target: Ball; property: "direction"; value: "left" }
- NumericAnimation { to: 20; duration: 2000 }
+ NumberAnimation { to: 20; duration: 2000 }
SetPropertyAction { target: Ball; property: "direction"; value: "right" }
}