Fix anchor jitters that could occur during animation.
authorMichael Brasser <michael.brasser@nokia.com>
Fri, 10 Feb 2012 00:15:13 +0000 (10:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 13 Feb 2012 00:36:13 +0000 (01:36 +0100)
commite99c5a3f113bbc1b8f8db996b4b0d5715eea2d89
tree8a973abb533edd382e1b41169039d6baf518857f
parentbd3307402d9249ab8155546d7e7db6d381b56e85
Fix anchor jitters that could occur during animation.

The anchors were using a different definition of center than the
actual center (9337c140cab7db1285f893b66d0e56423a74c253). With
this change center-anchored Rectangles may sometimes have fuzzy
antialiasing again.

Task-number: QTBUG-12441
Task-number: QTBUG-21730
Change-Id: Iaf61409c7c523510d0d657fe7ba96f29a8610090
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickanchors.cpp
tests/auto/qtquick2/qquickanchors/data/centerin.qml
tests/auto/qtquick2/qquickanchors/tst_qquickanchors.cpp