chore: correct watcher

This commit is contained in:
Braks
2022-04-24 13:34:22 +02:00
parent 5ce711e6d9
commit 6d1fb963b3
+2 -2
View File
@@ -113,8 +113,8 @@ const targetPosition = $(controlledComputed($$(targetHandle), () => (targetHandl
onMounted(() => { onMounted(() => {
watch( watch(
[ [
sourcePosition, $$(sourcePosition),
targetPosition, $$(targetPosition),
() => sourceNode.position, () => sourceNode.position,
() => targetNode.position, () => targetNode.position,
() => sourceNode.computedPosition, () => sourceNode.computedPosition,