1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-09 06:58:29 -04:00

fix(clipboard): fix action buttons hover cursor shape (#2744)

This commit is contained in:
Huỳnh Thiện Lộc
2026-07-04 22:31:39 +07:00
committed by GitHub
parent 9911698237
commit 5d12962fd6
@@ -49,6 +49,15 @@ Rectangle {
cornerRadius: root.radius cornerRadius: root.radius
} }
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.RightButton
onClicked: mouse => {
const scenePos = mapToItem(null, mouse.x, mouse.y);
contextMenuRequested(scenePos.x, scenePos.y);
}
}
Rectangle { Rectangle {
id: indexBadge id: indexBadge
anchors.left: parent.left anchors.left: parent.left
@@ -234,13 +243,4 @@ Rectangle {
} }
} }
} }
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.RightButton
onClicked: mouse => {
const scenePos = mapToItem(null, mouse.x, mouse.y);
contextMenuRequested(scenePos.x, scenePos.y);
}
}
} }