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