diff options
author | Alberto Mardegan <mardy@users.sourceforge.net> | 2011-12-18 19:19:29 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-12 15:11:05 +0200 |
commit | 0ac019111137b13788468ddb3c020302f1a25038 (patch) | |
tree | a6ec2149461bea49fa8542ad71d0910085c1f354 /src/widgets/util/qundoview.h | |
parent | 4fac40f8b0e7b2a6f5f41eb82196e8b197bc851a (diff) |
Fix QScroller diagonal scrolling
Compute the time needed for the scrolling operation before computing the
movement on the X and Y components. This ensures (except when
overshooting or snapping to snap points) that the scrolling on the X and
Y components takes the same time. That is, scrolling occurs always along
a straight line.
Task-number: QTBUG-23227
Change-Id: Ic3b78b8611dbcbf19711c3dd96485a0d53accaed
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/widgets/util/qundoview.h')
0 files changed, 0 insertions, 0 deletions