examples/declarative/toys/tvtennis/tvtennis.qml
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/examples/declarative/toys/tvtennis/tvtennis.qml	Fri Sep 17 08:34:18 2010 +0300
+++ b/examples/declarative/toys/tvtennis/tvtennis.qml	Mon Oct 04 01:19:32 2010 +0300
@@ -87,14 +87,14 @@
         color: "Lime"
         x: 2; width: 20; height: 90
         y: ball.direction == 'left' ? ball.y - 45 : page.height/2 -45;
-        Behavior on y { SpringAnimation{ spring: 1; damping: .1; } }
+        Behavior on y { SpringAnimation{ velocity: 300 } }
     }
     Rectangle {
         id: rightBat
         color: "Lime"
         x: page.width - 22; width: 20; height: 90
         y: ball.direction == 'right' ? ball.y - 45 : page.height/2 -45;
-        Behavior on y { SpringAnimation{ spring: 1; damping: .1; } }
+        Behavior on y { SpringAnimation{ velocity: 300 } }
     }
 
     // The rest, to make it look realistic, if neither ever scores...