fix for customDefShadowEnabled case

pull/19/head
Michail Vourlakos 5 years ago
parent 5e770bfd5e
commit ab1aa51fce

@ -166,7 +166,7 @@ BackgroundProperties{
&& kirigamiLibraryIsFound
&& panelShadowsActive
readonly property bool customShadowIsEnabled: customDefShadowIsEnabled || customUserShadowIsEnabled
readonly property bool customDefShadowIsEnabled: customShadowIsSupported && !customUserShadowIsEnabled
readonly property bool customDefShadowIsEnabled: customShadowIsSupported && !customUserShadowIsEnabled && customRadiusIsEnabled
readonly property bool customUserShadowIsEnabled: customShadowIsSupported && plasmoid.configuration.backgroundShadowSize >= 0
readonly property bool customRadiusIsEnabled: kirigamiLibraryIsFound && plasmoid.configuration.backgroundRadius >= 0

@ -114,7 +114,7 @@ Item {
return LatteCore.Types.DockView;
}
if (background.customShadowIsEnabled || background.customRadiusIsEnabled) {
if (background.customShadowedRectangleIsEnabled) {
return LatteCore.Types.DockView;
}

Loading…
Cancel
Save