summaryrefslogtreecommitdiff
path: root/modules/launcher/Content.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher/Content.qml')
-rw-r--r--modules/launcher/Content.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml
index 9ab6b40..26496a6 100644
--- a/modules/launcher/Content.qml
+++ b/modules/launcher/Content.qml
@@ -128,7 +128,7 @@ Item {
return 0;
if (mouse.pressed)
return 0.7;
- if (mouse.hovered)
+ if (mouse.containsMouse)
return 0.8;
return 1;
}
@@ -139,14 +139,10 @@ Item {
MouseArea {
id: mouse
- property bool hovered
-
anchors.fill: parent
hoverEnabled: true
cursorShape: search.text ? Qt.PointingHandCursor : undefined
- onEntered: hovered = true
- onExited: hovered = false
onClicked: search.text = ""
}