diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-09-10 03:21:36 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-09-10 03:21:36 (GMT) |
commit | 2c0255521f00a1fd95988161a03c39631350eaba (patch) | |
tree | 20947c82c768b3aa785628e92ae0ee7a0ac3bfbd /examples/declarative/dial | |
parent | c494da05e1d3cb597990098e9713a0af5364c828 (diff) | |
download | Qt-2c0255521f00a1fd95988161a03c39631350eaba.zip Qt-2c0255521f00a1fd95988161a03c39631350eaba.tar.gz Qt-2c0255521f00a1fd95988161a03c39631350eaba.tar.bz2 |
Follow renamed to SpringFollow.
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r-- | examples/declarative/dial/DialLibrary/Dial.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml index f53b25e..1a163a8 100644 --- a/examples/declarative/dial/DialLibrary/Dial.qml +++ b/examples/declarative/dial/DialLibrary/Dial.qml @@ -26,8 +26,8 @@ Item { id: NeedleRotation origin.x: 7; origin.y: 65 angle: -130 - angle: Follow { -id: MyFollow + angle: SpringFollow { + id: MyFollow spring: 1.4 damping: .15 source: Math.min(Math.max(-130, Root.value*2.2 - 130), 133) |