Commit fde492b3 authored by Marco Martin's avatar Marco Martin

make expanded popup work more than once

parent 40b02bf4
......@@ -61,16 +61,15 @@ Item {
}
height: units.smallSpacing
color: PlasmaCore.ColorScope.highlightColor
visible: plasmoid.expanded
visible: plasmoid.formFactor != PlasmaCore.Types.Planar && plasmoid.expanded
}
PlasmaCore.FrameSvgItem {
id: appletParent
imagePath: "widgets/background"
//used only indesktop mode, not panel
visible: plasmoid.formFactor == PlasmaCore.Types.Planar
visible: plasmoid.expanded && plasmoid.formFactor == PlasmaCore.Types.Planar
z: 99
opacity: plasmoid.expanded ? 1 : 0
anchors.top: parent.top
width: parent.width
height: units.gridUnit * 20 - units.iconSizes.medium
......@@ -85,12 +84,6 @@ Item {
z: -1
onClicked: plasmoid.expanded = false;
}
Behavior on opacity {
OpacityAnimator {
duration: units.longDuration
easing.type: Easing.InOutQuad
}
}
}
}
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