fix(core,nodes): update position on dimensions change
This commit is contained in:
@@ -108,6 +108,8 @@ watch(
|
|||||||
() => parentNode?.computedPosition.y,
|
() => parentNode?.computedPosition.y,
|
||||||
() => parentNode?.computedPosition.z,
|
() => parentNode?.computedPosition.z,
|
||||||
() => node.selected,
|
() => node.selected,
|
||||||
|
() => node.dimensions,
|
||||||
|
() => parentNode?.dimensions,
|
||||||
],
|
],
|
||||||
([newX, newY, parentX, parentY, parentZ]) => {
|
([newX, newY, parentX, parentY, parentZ]) => {
|
||||||
const xyzPos = {
|
const xyzPos = {
|
||||||
|
|||||||
Reference in New Issue
Block a user