avoid glitch from panel shadow

pull/6/head
Michail Vourlakos 6 years ago
parent 2396ffbe19
commit b7cf5dbb62

@ -255,8 +255,7 @@ Item {
return plasmoid.configuration.panelShadows;
}
var transparencyCheck = (blurEnabled && currentPanelTransparency>0)
|| (!blurEnabled && currentPanelTransparency>20);
var transparencyCheck = (blurEnabled || (!blurEnabled && currentPanelTransparency>20));
//! Draw shadows for isBusy state only when current panelTransparency is greater than 10%
if (plasmoid.configuration.panelShadows && root.forcePanelForBusyBackground && transparencyCheck) {

Loading…
Cancel
Save