aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickflickable.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@jollamobile.com>2014-01-21 16:12:48 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-21 23:28:20 +0100
commit918159a2aae5062935a946e6d64120769802d625 (patch)
tree2065e9fe8f7163e26eda13e77d127491a483bcc1 /src/quick/items/qquickflickable.cpp
parent4cf8a6ad7189991ff6852f4096fa8673ffa98bf0 (diff)
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>
Diffstat (limited to 'src/quick/items/qquickflickable.cpp')
-rw-r--r--src/quick/items/qquickflickable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp
index 7cc37e0556..333c11cb29 100644
--- a/src/quick/items/qquickflickable.cpp
+++ b/src/quick/items/qquickflickable.cpp
@@ -2309,6 +2309,7 @@ void QQuickFlickable::timelineCompleted()
return;
}
movementEnding();
+ d->updateBeginningEnd();
}
void QQuickFlickable::movementStarting()