summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-06-04 15:09:27 +1000
committerBea Lam <bea.lam@nokia.com>2010-06-11 12:17:08 +1000
commit2857209fdca9f2f255ce046e7cf1ec40616db845 (patch)
treed65b6d9ad9f9810b34044f4aefe958eea39f9a7b /examples
parente15c3b9eaf47ca4f7206673daae24ef07b95691e (diff)
Fix orientation.qml following QML library changes
Diffstat (limited to 'examples')
-rw-r--r--examples/sensors/orientation/orientation.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/sensors/orientation/orientation.qml b/examples/sensors/orientation/orientation.qml
index 54faca3765..ea9641c219 100644
--- a/examples/sensors/orientation/orientation.qml
+++ b/examples/sensors/orientation/orientation.qml
@@ -69,7 +69,6 @@ Rectangle {
Item {
id: content
- transformOrigin: Item.Center
anchors.centerIn: parent
Text {
id: text
@@ -122,9 +121,8 @@ Rectangle {
]
transitions: Transition {
- NumberAnimation { matchProperties: "rotation"; easing: "InOutQuad"; duration: 400 }
+ NumberAnimation { properties: "rotation"; easing.type: Easing.OutBounce; duration: 400 }
}
}
-
-
}
+