diff options
author | Lasse Räihä <lasse.raiha@digia.com> | 2013-05-29 09:24:49 +0300 |
---|---|---|
committer | Kimmo Ollila <kimmo.ollila@digia.com> | 2013-05-29 09:26:05 +0300 |
commit | 743225d98d2162d8dce1882ea3b3ca5384e02e93 (patch) | |
tree | fe1a11974c98aaaa8507c654af48d4fe656b90cc | |
parent | d99f3116592e0a2932efa2667e90a986fd5cfd87 (diff) |
Changed zoomAnimation to SmoothAnimation.
Change-Id: If79cbaeb4b4d053acc4ea05c60c0c3253114f185
Reviewed-by: Kimmo Ollila <kimmo.ollila@digia.com>
-rw-r--r-- | QtDemo/qml/QtDemo/main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/QtDemo/qml/QtDemo/main.qml b/QtDemo/qml/QtDemo/main.qml index 4cba6df..27758ff 100644 --- a/QtDemo/qml/QtDemo/main.qml +++ b/QtDemo/qml/QtDemo/main.qml @@ -85,11 +85,12 @@ Rectangle{ onNo: visible = false } - NumberAnimation { + SmoothedAnimation { id: zoomAnimation target: canvas; property: "scalingFactor"; duration: Style.APP_ANIMATION_DELAY; + velocity: -1 to:canvas.zoomInTarget onRunningChanged: { |