on xenial help sign in
Allow drag over bounds, but not overshoot. Fixes: https://bugs.launchpad.net/bugs/1204300.

Approved by PS Jenkins bot, Michał Sawicz.

commit00ef0e65896fce83749f91de3878d0ed1ebfbe47 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 4 Nov 2013, 14:22 (13 years ago) parent01528890a9e02f
1 file changed+1−1
Components/Carousel.qml+1−1
Components/Carousel.qml+1−1
@@ -136,7 +136,7 @@ Item {
136136 height: listView.tileHeight
137137 }
138138
139− boundsBehavior: Flickable.StopAtBounds
139+ boundsBehavior: Flickable.DragOverBounds
140140 cacheBuffer: carousel.cacheBuffer
141141 flickDeceleration: Math.max(1500 * Math.pow(realWidth / referenceWidth, 1.5), 1500) // 1500 is platform default
142142 maximumFlickVelocity: Math.max(2500 * Math.pow(realWidth / referenceWidth, 1.5), 2500) // 2500 is platform default