projects
/
profile
/
ivi
/
qtdeclarative.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Flesh out examples documentation
[profile/ivi/qtdeclarative.git]
/
examples
/
quick
/
animation
/
behaviors
/
tvtennis.qml
diff --git
a/examples/quick/animation/behaviors/tvtennis.qml
b/examples/quick/animation/behaviors/tvtennis.qml
index
108f19a
..
667b33f
100644
(file)
--- a/
examples/quick/animation/behaviors/tvtennis.qml
+++ b/
examples/quick/animation/behaviors/tvtennis.qml
@@
-86,8
+86,10
@@
Rectangle {
id: leftBat
color: "Lime"
x: 2; width: 20; height: 90
+ // ![0]
y: ball.direction == 'left' ? ball.y - 45 : page.height/2 -45;
Behavior on y { SpringAnimation{ velocity: 300 } }
+ // ![0]
}
Rectangle {
id: rightBat