chore(core): cleanup node wrapper

This commit is contained in:
braks
2022-11-17 17:01:16 +01:00
committed by Braks
parent 06fc9f2ec4
commit 3ca17d4073

View File

@@ -123,7 +123,7 @@ watch(
)
function updatePosition(nodePos: XYZPosition, parentPos?: XYZPosition) {
let nextPos = { ...nodePos }
let nextPos = nodePos
if (parentPos) {
nextPos = getXYZPos({ x: parentPos.x, y: parentPos.y, z: parentPos.z! }, nodePos)
}