summaryrefslogtreecommitdiff
path: root/popups/launcher/components/App.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/App.qml')
-rw-r--r--popups/launcher/components/App.qml16
1 files changed, 10 insertions, 6 deletions
diff --git a/popups/launcher/components/App.qml b/popups/launcher/components/App.qml
index f3c5eeb..a6616c4 100644
--- a/popups/launcher/components/App.qml
+++ b/popups/launcher/components/App.qml
@@ -161,16 +161,20 @@ IComponent {
}
}
- MouseArea {
- anchors.fill: parent
- hoverEnabled: true
- onPositionChanged: {
+ TapHandler {
+ acceptedButtons: Qt.LeftButton
+ onTapped: {
root.selectedIndex = index;
- }
- onPressed: {
root._exec();
}
}
+ HoverHandler {
+ onPointChanged: {
+ if (hovered) {
+ root.selectedIndex = index;
+ }
+ }
+ }
}
onContentYChanged: {
SelectionState.syncSelectionState();