update panel shadows for isBusy state

pull/6/head
Michail Vourlakos 6 years ago
parent 137cd36547
commit 8a281bc3e8

@ -98,6 +98,12 @@ Item{
}
}
Binding{
target: root
property: "currentPanelTransparency"
value: overlayedBackground.opacity>0 ? overlayedBackground.opacity*100 : solidBackground.opacity*100
}
Binding {
target: root
property: "realPanelLength"
@ -376,12 +382,6 @@ Item{
onImagePathChanged: solidBackground.adjustPrefix();
Binding{
target: root
property: "currentPanelTransparency"
value: solidBackground.opacity * 100
}
Connections{
target: root

@ -255,8 +255,8 @@ Item {
return plasmoid.configuration.panelShadows;
}
//! Draw shadows for isBusy state only when current panelTransparency is greater than 40%
if (plasmoid.configuration.panelShadows && root.forcePanelForBusyBackground && currentPanelTransparency>40) {
//! Draw shadows for isBusy state only when current panelTransparency is greater than 10%
if (plasmoid.configuration.panelShadows && root.forcePanelForBusyBackground && currentPanelTransparency>10) {
return true;
}

Loading…
Cancel
Save