Launcher: resolve odd flickering on pin/unpin button hover (fixes #406)

This commit is contained in:
Ly-sec
2025-10-04 00:38:34 +02:00
parent c94bc1955c
commit 2b39d1a17a
+3
View File
@@ -511,6 +511,9 @@ NPanel {
z: -1
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
selectedIndex = index
}
onClicked: mouse => {
if (mouse.button === Qt.LeftButton) {
selectedIndex = index