fix(core): check if position is a number and not if it's truthy

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-16 18:39:28 +01:00
committed by Braks
parent 23ea3d9866
commit 9e1ba45839
2 changed files with 4 additions and 5 deletions
@@ -53,9 +53,8 @@ const connectionLineVisible = $(
let groups = $ref<ReturnType<typeof groupEdgesByZLevel>>([])
let stop: WatchStopHandle
onPaneReady(() => {
watch(
stop = watch(
[
$$(getSelectedNodes),
$$(getEdges),