From 3980354daa4d8dfa8ec07ed2c2265ebb137b6f36 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 28 Apr 2016 20:40:22 +0200 Subject: Revert Tumbler::displacement to position changes This reverts commits 150d8fcc7f97e4a5d56bdcf608fa22533d807677 and 0905066bcbb967d3344d399383d0ea4b30e1d489 that broke Tumbler. The normalized position calculation did not work in some corner cases (eg. when the total amount of model items is just 2). Therefore, just go back to "displacement"; and if we ever get this working correctly, we can call it position and deprecate displacement. Task-number: QTBUG-53061 Change-Id: Ic721f8a96c250dd5d40f881ff991fae687311996 Reviewed-by: Mitch Curtis --- .../doc/images/qtquickcontrols2-tumbler-position.png | Bin 5150 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler-position.png (limited to 'src/imports/controls/doc/images') diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-position.png b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-position.png deleted file mode 100644 index 437459a8..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-position.png and /dev/null differ -- cgit v1.2.3