Commit bf337f55 authored by pontaoski's avatar pontaoski 🌈
Browse files

[applets/appmenu] Improve menu feel

Summary: The appmenu applet now accurately replicates the hover behaviour of a regular menubar.

Test Plan:
Before: you need to click to engage all menus.
After: the appmenu applet copies the behaviour of a QMenuBar when it comes to clicks and hovers.

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29465
parent af31ad46
......@@ -147,7 +147,9 @@ Item {
// QMenu opens on press, so we'll replicate that here
MouseArea {
anchors.fill: parent
hoverEnabled: plasmoid.nativeInterface.currentIndex !== -1
onPressed: parent.clicked()
onEntered: parent.clicked()
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment