Skip to content

Commit 92f9fa9

Browse files
committed
fix: searchItem right click response range is too large
Narrowing the scope to Button Issue: linuxdeepin/developer-center#10294
1 parent 4225d29 commit 92f9fa9

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

panels/dock/searchitem/package/searchitem.qml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@ AppletItem {
6060
toolTip.close()
6161
}
6262
}
63-
}
6463

65-
MouseArea {
66-
id: mouseArea
67-
anchors.fill: parent
68-
acceptedButtons: Qt.RightButton
69-
onClicked: {
70-
platformMenuLoader.active = true
71-
platformMenuLoader.item.open()
64+
MouseArea {
65+
anchors.fill: parent
66+
acceptedButtons: Qt.RightButton
67+
onClicked: {
68+
platformMenuLoader.active = true
69+
platformMenuLoader.item.open()
70+
}
7271
}
7372
}
7473

0 commit comments

Comments
 (0)