Commit 532d4da7 authored by Konrad Materka's avatar Konrad Materka
Browse files

Highlight the icon in the system tray on mouse over

Summary:
Icon should be highlighted hover, as any other icons in the system tray.

CCBUG: 400295

Test Plan: Hover mouse over over the icon - it should highlight.

Reviewers: #plasma, davidedmundson, #plasma_workspaces, broulik

Reviewed By: #plasma, #plasma_workspaces, broulik

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24738
parent b4065db9
...@@ -100,8 +100,11 @@ Item { ...@@ -100,8 +100,11 @@ Item {
source: devicenotifier.popupIcon source: devicenotifier.popupIcon
width: units.iconSizes.medium; width: units.iconSizes.medium;
height: units.iconSizes.medium; height: units.iconSizes.medium;
active: compactMouse.containsMouse
MouseArea { MouseArea {
id: compactMouse
anchors.fill: parent anchors.fill: parent
hoverEnabled: true
onClicked: plasmoid.expanded = !plasmoid.expanded onClicked: plasmoid.expanded = !plasmoid.expanded
} }
} }
......
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