fix(core,nodes): elevate child nodes by zIndex +1

This commit is contained in:
braks
2022-11-17 17:55:08 +01:00
committed by Braks
parent 817884e71f
commit 13c2dfaeed
+1 -1
View File
@@ -342,7 +342,7 @@ export const getXYZPos = (parentPos: XYZPosition, computedPosition: XYZPosition)
return {
x: computedPosition.x + parentPos.x,
y: computedPosition.y + parentPos.y,
z: parentPos.z > computedPosition.z ? parentPos.z : computedPosition.z,
z: (parentPos.z > computedPosition.z ? parentPos.z : computedPosition.z) + 1,
}
}