Ensure Flickable bounds detection is executed at the end of animation.
authorMartin Jones <martin.jones@jollamobile.com>
Tue, 21 Jan 2014 06:12:48 +0000 (16:12 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 22:28:20 +0000 (23:28 +0100)
commit918159a2aae5062935a946e6d64120769802d625
tree2065e9fe8f7163e26eda13e77d127491a483bcc1
parent4cf8a6ad7189991ff6852f4096fa8673ffa98bf0
Ensure Flickable bounds detection is executed at the end of animation.

In pixelAligned mode the content position when animating is rounded to
a whole pixel, so the contentItem may reach the bound before the
animation completes.

Ensure bounds detection is run on animation completion.

Task-number: QTBUG-36300
Change-Id: I083ff6a03a5d1b9ca9e2201487b602f1588002be
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Joona Petrell <joona.petrell@jollamobile.com>
src/quick/items/qquickflickable.cpp
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp