chore(core): cleanup node wrapper
This commit is contained in:
@@ -123,7 +123,7 @@ watch(
|
|||||||
)
|
)
|
||||||
|
|
||||||
function updatePosition(nodePos: XYZPosition, parentPos?: XYZPosition) {
|
function updatePosition(nodePos: XYZPosition, parentPos?: XYZPosition) {
|
||||||
let nextPos = { ...nodePos }
|
let nextPos = nodePos
|
||||||
if (parentPos) {
|
if (parentPos) {
|
||||||
nextPos = getXYZPos({ x: parentPos.x, y: parentPos.y, z: parentPos.z! }, nodePos)
|
nextPos = getXYZPos({ x: parentPos.x, y: parentPos.y, z: parentPos.z! }, nodePos)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user