make abstractwidget's cursor shape more accurate

This commit is contained in:
end-4
2025-11-05 10:14:36 +01:00
parent aca19d6903
commit b1007f2ded
@@ -10,7 +10,7 @@ MouseArea {
property bool draggable: true
drag.target: draggable ? root : undefined
cursorShape: drag.active ? Qt.ClosedHandCursor : draggable ? Qt.OpenHandCursor : Qt.ArrowCursor
cursorShape: (draggable && containsPress) ? Qt.ClosedHandCursor : draggable ? Qt.OpenHandCursor : Qt.ArrowCursor
function center() {
root.x = (root.parent.width - root.width) / 2