@@ -181,8 +181,9 @@ Item {
181181 onTouchBegun: { cursor.opacity = 0; }
182182 onTouchEnded: {
183183 // move the (hidden) cursor to the last known touch position
184− cursor.x = pos.x;
185− cursor.y = pos.y;
184+ var mappedCoords = shell.parent ? mapFromItem(shell.parent, pos.x, pos.y) : Qt.point(pos.x, pos.y)
185+ cursor.x = mappedCoords.x;
186+ cursor.y = mappedCoords.y;
186187 }
187188 }
188189