summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax/qml/Smiley.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/parallax/qml/Smiley.qml')
-rw-r--r--examples/declarative/parallax/qml/Smiley.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/parallax/qml/Smiley.qml b/examples/declarative/parallax/qml/Smiley.qml
index fc5b4fe..81eadda 100644
--- a/examples/declarative/parallax/qml/Smiley.qml
+++ b/examples/declarative/parallax/qml/Smiley.qml
@@ -27,16 +27,16 @@ Item {
y: SequentialAnimation {
repeat: true
- // Move from minHeight to maxHeight in 300ms, using the easeOutExpo easing function
+ // Move from minHeight to maxHeight in 300ms, using the OutExpo easing function
NumberAnimation {
from: smiley.minHeight; to: smiley.maxHeight
- easing: "easeOutExpo"; duration: 300
+ easing.type: "OutExpo"; duration: 300
}
- // Then move back to minHeight in 1 second, using the easeOutBounce easing function
+ // Then move back to minHeight in 1 second, using the OutBounce easing function
NumberAnimation {
from: smiley.maxHeight; to: smiley.minHeight
- easing: "easeOutBounce"; duration: 1000
+ easing.type: "OutBounce"; duration: 1000
}
// Then pause for 500ms