summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml')
-rw-r--r--examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml b/examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml
index a6ef62c..e50aae0 100644
--- a/examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml
+++ b/examples/declarative/tutorials/samegame/samegame4/content/BoomBlock.qml
@@ -9,7 +9,7 @@ Item { id:block
property int targetX: 0
property int targetY: 0
- SpringFollow on x { enabled: spawned; source: targetX; spring: 2; damping: 0.2 }
+ SpringFollow on x { source: targetX; spring: 2; damping: 0.2; enabled: spawned }
SpringFollow on y { source: targetY; spring: 2; damping: 0.2 }
//![1]