@@ -162,7 +162,7 @@ Item {
162 /* We're clicking the selected item and
162 /* We're clicking the selected item and
163 we're in the neighbourhood of radius 1 pixel from it.
163 we're in the neighbourhood of radius 1 pixel from it.
164 Let's emit the clicked signal. */
164 Let's emit the clicked signal. */
165− carousel.clicked(index, listView.model, 0)
165+ carousel.clicked(index, listView.model, delegateItem.y)
@@ -186,7 +186,7 @@ Item {
186 /* We're pressAndHold the selected item and
186 /* We're pressAndHold the selected item and
187 we're in the neighbourhood of radius 1 pixel from it.
187 we're in the neighbourhood of radius 1 pixel from it.
188 Let's emit the pressAndHold signal. */
188 Let's emit the pressAndHold signal. */
189− carousel.pressAndHold(index, listView.model, 0);
189+ carousel.pressAndHold(index, listView.model, delegateItem.y);