Augment SpringAnimation::damping documentation
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 28 Jul 2011 10:21:58 +0000 (20:21 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 29 Jul 2011 00:47:11 +0000 (02:47 +0200)
Task-number: QTBUG-20120

Change-Id: Ifaa0e7eaa0f61052680338a6cfd35bb6aca63157
Reviewed-on: http://codereview.qt.nokia.com/2333
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/qtquick1/util/qdeclarativespringanimation.cpp

index 6d950c8..d6dd68c 100644 (file)
@@ -325,11 +325,13 @@ void QDeclarative1SpringAnimation::setSpring(qreal spring)
     \qmlproperty real QtQuick1::SpringAnimation::damping
     This property holds the spring damping value.
 
-    This value describes how quickly the spring-like motion comes to rest.
+    This parameter can be used to tweak the spring behaviour by exerting a resisting force
+    (like friction).
+
     The default value is 0.
 
-    The useful value range is 0 - 1.0. The lower the value, the faster it
-    comes to rest.
+    The useful value range is 0 - 1.0. The higher the value, the faster it
+    usually comes to rest.
 */
 qreal QDeclarative1SpringAnimation::damping() const
 {