dont update dock geometry for panels/editMode

pull/2/head
Michail Vourlakos 7 years ago
parent b41ecad4af
commit dcbc720425

@ -409,7 +409,8 @@ Item{
} }
//console.log("reached updating geometry ::: "+dock.maskArea); //console.log("reached updating geometry ::: "+dock.maskArea);
if((normalState && !dock.visibility.isHidden) || root.editMode){ if((normalState && !dock.visibility.isHidden)
&& !(root.behaveAsPlasmaPanel && root.editMode)){
var tempGeometry = Qt.rect(dock.maskArea.x, dock.maskArea.y, dock.maskArea.width, dock.maskArea.height); var tempGeometry = Qt.rect(dock.maskArea.x, dock.maskArea.y, dock.maskArea.width, dock.maskArea.height);
//the shadows size must be removed from the maskArea //the shadows size must be removed from the maskArea

Loading…
Cancel
Save