Commit bfbdeca7 authored by ivan tkachenko's avatar ivan tkachenko Committed by Nate Graham
Browse files

[applets/kickoff] Fix compact representation's icon's `active` property

The binding got broken in a recent refactoring. It was dynamically
referring to a MouseArea's containsMouse value via a generic `parent`
property. Accessing it by id is more robust and future-proof.
parent 4735729f
Pipeline #219151 passed with stage
in 5 minutes and 28 seconds
......@@ -225,7 +225,7 @@ Item {
Layout.preferredHeight: iconSize
Layout.alignment: Qt.AlignVCenter
source: !kickoff.vertical ? plasmoid.icon : plasmoid.icon ? plasmoid.icon : kickoff.defaultIcon
active: parent.containsMouse || compactDragArea.containsDrag
active: compactRoot.containsMouse || compactDragArea.containsDrag
smooth: true
roundToIconSize: aspectRatio === 1
}
......
Supports Markdown
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