diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 06:55:29 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 06:55:29 (GMT) |
commit | 0bfdbc3c60d7966a8cdf20fe952aa195a1dab121 (patch) | |
tree | 2c67fa375f680aa6de500d876b9bd105050f2487 /examples/declarative/dynamic/qml/PerspectiveItem.qml | |
parent | 1bbec8f737435f008b00d0ab7a7ee675b1d1cf68 (diff) | |
download | Qt-0bfdbc3c60d7966a8cdf20fe952aa195a1dab121.zip Qt-0bfdbc3c60d7966a8cdf20fe952aa195a1dab121.tar.gz Qt-0bfdbc3c60d7966a8cdf20fe952aa195a1dab121.tar.bz2 |
enable smooth scaling for dynamic example
Diffstat (limited to 'examples/declarative/dynamic/qml/PerspectiveItem.qml')
-rw-r--r-- | examples/declarative/dynamic/qml/PerspectiveItem.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/dynamic/qml/PerspectiveItem.qml b/examples/declarative/dynamic/qml/PerspectiveItem.qml index 9e09dd2..55a70d5 100644 --- a/examples/declarative/dynamic/qml/PerspectiveItem.qml +++ b/examples/declarative/dynamic/qml/PerspectiveItem.qml @@ -7,6 +7,6 @@ Image { onCreatedChanged: if (created && y+height<=window.height/2) { tree.destroy() } scale: y+height > window.height/2 ? (y+height-250)*0.01 : 1 transformOrigin: "Center" - source: image; + source: image; smooth: true z: y } |