Commit 6b25f374 authored by Konrad Materka's avatar Konrad Materka
Browse files

[applets/systemtray] Make highlight wider

Make current item highlight wider, to fill width of active area of applet.

BUG: 427638
FIXED-IN: 5.20.2
parent 72191cbb
......@@ -132,6 +132,7 @@ PlasmaCore.ToolTipArea {
Item {
id: iconContainer
property alias container: abstractItem
property alias inVisibleLayout: abstractItem.inVisibleLayout
readonly property int size: abstractItem.inVisibleLayout ? root.itemSize : units.iconSizes.medium
......
......@@ -91,7 +91,7 @@ MouseArea {
CurrentItemHighLight {
readonly property bool visibleAppletActivated: root.activeApplet && root.activeApplet.parent && root.activeApplet.parent.inVisibleLayout
parent: visibleAppletActivated ? root.activeApplet.parent : root
parent: visibleAppletActivated ? root.activeApplet.parent.container : root
location: plasmoid.location
}
......
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