remove shadow from AlwaysVisible struts

v0.6
Michail Vourlakos 8 years ago
parent 86c864cc90
commit 96a153fdb8

@ -258,7 +258,7 @@ Item{
if((normalState || plasmoid.userConfiguring) && !dock.visibility.isHidden){ if((normalState || plasmoid.userConfiguring) && !dock.visibility.isHidden){
//the shadows size must be removed from the maskArea //the shadows size must be removed from the maskArea
//before updating the localDockGeometry //before updating the localDockGeometry
if (plasmoid.userConfiguring) { if (plasmoid.userConfiguring || (dock.visibility.mode === Latte.Dock.AlwaysVisible) ) {
if (plasmoid.formFactor === PlasmaCore.Types.Vertical) { if (plasmoid.formFactor === PlasmaCore.Types.Vertical) {
newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize; newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize;
} else { } else {

Loading…
Cancel
Save