diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-09-08 04:16:04 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-09-08 04:16:04 (GMT) |
commit | fb4eb36e78a9d9337fd3decf70a6c13774ba551a (patch) | |
tree | c708b5fb420bf27461122cf8b326b952eb379efd /src/declarative/graphicsitems/qdeclarativetext.cpp | |
parent | ef35caa4f08d10f214d4068328072e432882827e (diff) | |
download | Qt-fb4eb36e78a9d9337fd3decf70a6c13774ba551a.zip Qt-fb4eb36e78a9d9337fd3decf70a6c13774ba551a.tar.gz Qt-fb4eb36e78a9d9337fd3decf70a6c13774ba551a.tar.bz2 |
SpringAnimation velocity animation stop logic was fragile.
Rather than stopping the animation when the target was reached, calculate
the duration it will take. This eliminates the possibility of rounding
errors causing the animation to stop at the wrong time.
Task-number: QTBUG-13044
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp')
0 files changed, 0 insertions, 0 deletions