summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/content/SpinSquare.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/webview/content/SpinSquare.qml')
-rw-r--r--examples/declarative/webview/content/SpinSquare.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/webview/content/SpinSquare.qml b/examples/declarative/webview/content/SpinSquare.qml
index 466c99e..62c0ce2 100644
--- a/examples/declarative/webview/content/SpinSquare.qml
+++ b/examples/declarative/webview/content/SpinSquare.qml
@@ -15,10 +15,10 @@ Item {
width: root.width
height: width
}
- rotation: NumberAnimation {
+ NumberAnimation on rotation {
from: 0
to: 360
- repeat: true
+ loops: Animation.Infinite
duration: root.period
}
}