summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-09-08 04:16:04 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-09-08 04:16:04 (GMT)
commitfb4eb36e78a9d9337fd3decf70a6c13774ba551a (patch)
treec708b5fb420bf27461122cf8b326b952eb379efd /src/declarative/graphicsitems/qdeclarativetext.cpp
parentef35caa4f08d10f214d4068328072e432882827e (diff)
downloadQt-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