fix(core,nodes): elevate child nodes by zIndex +1
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user