Verified Commit a145c3de authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/kicker: follow Plasma QML style in CompactRepresentation

parent ebdeba36
Pipeline #208027 passed with stage
in 3 minutes and 32 seconds
......@@ -63,12 +63,12 @@ Item {
PlasmaCore.IconItem {
id: buttonIcon
anchors.fill: parent
readonly property double aspectRatio: root.vertical
? implicitHeight / implicitWidth
: implicitWidth / implicitHeight
anchors.fill: parent
active: mouseArea.containsMouse && !justOpenedTimer.running
smooth: true
source: root.useCustomButtonImage ? plasmoid.configuration.customButtonImage : plasmoid.configuration.icon
......@@ -80,13 +80,13 @@ Item {
onSourceChanged: root.updateSizeHints()
}
MouseArea
{
MouseArea {
id: mouseArea
property bool wasExpanded: false;
anchors.fill: parent
property bool wasExpanded: false;
hoverEnabled: !root.dashWindow || !root.dashWindow.visible
onPressed: {
......
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