|
|
|
@ -1129,11 +1129,11 @@ DragDrop.DropArea {
|
|
|
|
|
&& !root.editMode && windowSystem.compositingActive && !root.drawShadowsExternal ){
|
|
|
|
|
return ((dock.width/2) - (root.maxLength/2))
|
|
|
|
|
} else {
|
|
|
|
|
if ((visibilityManager.inSlidingIn || visibilityManager.inSlidingOut) && root.isHorizontal){
|
|
|
|
|
if ((visibilityManager.inSlidingIn || visibilityManager.inSlidingOut) && root.isVertical){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (dock.visibility.isHidden && windowSystem.compositingActive) {
|
|
|
|
|
if (dock.visibility.isHidden && windowSystem.compositingActive && root.isVertical) {
|
|
|
|
|
return visibilityManager.slidingOutToPos;
|
|
|
|
|
} else {
|
|
|
|
|
return 0;
|
|
|
|
@ -1150,7 +1150,7 @@ DragDrop.DropArea {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (dock.visibility.isHidden && windowSystem.compositingActive) {
|
|
|
|
|
if (dock.visibility.isHidden && windowSystem.compositingActive && root.isHorizontal) {
|
|
|
|
|
return visibilityManager.slidingOutToPos;
|
|
|
|
|
} else {
|
|
|
|
|
return 0;
|
|
|
|
@ -1158,6 +1158,10 @@ DragDrop.DropArea {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onXChanged: {
|
|
|
|
|
console.log("X: "+x);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
width: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isHorizontal && !root.editMode && !root.drawShadowsExternal ?
|
|
|
|
|
root.maxLength : parent.width
|
|
|
|
|
height: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isVertical && !root.editMode && !root.drawShadowsExternal ?
|
|
|
|
|