mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
make abstractwidget's cursor shape more accurate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user