diff options
author | David Boddie <david.boddie@nokia.com> | 2010-11-30 11:09:48 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2010-11-30 11:09:48 (GMT) |
commit | 16c3df54960b776f35f59288b888e829e7e81002 (patch) | |
tree | 706f90144dbde9b78860d43755d32696ad9d2f76 | |
parent | dcce5c796e5cd5cb090f1c395e483269bab01566 (diff) | |
download | Qt-16c3df54960b776f35f59288b888e829e7e81002.zip Qt-16c3df54960b776f35f59288b888e829e7e81002.tar.gz Qt-16c3df54960b776f35f59288b888e829e7e81002.tar.bz2 |
Fixed incorrect angle values in the RotationAnimation description.
Task-number: QTBUG-15696
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index f2e6217..dd7e5fd 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -1324,7 +1324,7 @@ void QDeclarativeVector3dAnimation::setTo(QVector3D t) /*! \qmlclass RotationAnimation QDeclarativeRotationAnimation - \ingroup qml-animation-transition + \ingroup qml-animation-transition \since 4.7 \inherits PropertyAnimation \brief The RotationAnimation element animates changes in rotation values. @@ -1333,8 +1333,8 @@ void QDeclarativeVector3dAnimation::setTo(QVector3D t) over the direction of rotation during an animation. By default, it rotates in the direction - of the numerical change; a rotation from 0 to 240 will rotate 220 degrees - clockwise, while a rotation from 240 to 0 will rotate 220 degrees + of the numerical change; a rotation from 0 to 240 will rotate 240 degrees + clockwise, while a rotation from 240 to 0 will rotate 240 degrees counterclockwise. The \l direction property can be set to specify the direction in which the rotation should occur. @@ -1342,7 +1342,7 @@ void QDeclarativeVector3dAnimation::setTo(QVector3D t) between states via the shortest path: \snippet doc/src/snippets/declarative/rotationanimation.qml 0 - + Notice the RotationAnimation did not need to set a \l target value. As a convenience, when used in a transition, RotationAnimation will rotate all properties named "rotation" or "angle". You can override this by providing |