chore(core): cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-18 20:47:32 +01:00
committed by Braks
parent fba7b55f1f
commit 84ffd50429
4 changed files with 28 additions and 21 deletions
@@ -57,9 +57,9 @@ let stop: WatchStopHandle
onPaneReady(() => {
stop = watch(
[
$$(getSelectedNodes),
$$(getEdges),
() => getEdges.length,
() => getEdges.map((e) => e.zIndex),
() => (elevateEdgesOnSelect ? getSelectedNodes.length : 0),
() => (elevateEdgesOnSelect ? getNodesInitialized.map((n) => n.computedPosition.z) : []),
],
() => {