mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
fix(clipboard): fix action buttons hover cursor shape (#2744)
This commit is contained in:
@@ -49,6 +49,15 @@ Rectangle {
|
||||
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 {
|
||||
id: indexBadge
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user