diff options
Diffstat (limited to 'components/controls/CollapsibleSection.qml')
| -rw-r--r-- | components/controls/CollapsibleSection.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/components/controls/CollapsibleSection.qml b/components/controls/CollapsibleSection.qml index 8940884..e3d8eef 100644 --- a/components/controls/CollapsibleSection.qml +++ b/components/controls/CollapsibleSection.qml @@ -88,9 +88,7 @@ ColumnLayout { id: backgroundRect anchors.fill: parent radius: Appearance.rounding.normal - color: Colours.transparency.enabled - ? Colours.layer(Colours.palette.m3surfaceContainer, root.nested ? 3 : 2) - : (root.nested ? Colours.palette.m3surfaceContainerHigh : Colours.palette.m3surfaceContainer) + color: Colours.transparency.enabled ? Colours.layer(Colours.palette.m3surfaceContainer, root.nested ? 3 : 2) : (root.nested ? Colours.palette.m3surfaceContainerHigh : Colours.palette.m3surfaceContainer) opacity: root.showBackground && root.expanded ? 1.0 : 0.0 visible: root.showBackground @@ -132,4 +130,3 @@ ColumnLayout { } } } - |