diff --git a/frontend/src/components/GraphCanvas.svelte b/frontend/src/components/GraphCanvas.svelte index 28c7717..3accd43 100644 --- a/frontend/src/components/GraphCanvas.svelte +++ b/frontend/src/components/GraphCanvas.svelte @@ -239,6 +239,8 @@ if (svgEl && !svgEl.contains(e.target as Node)) return; contextMenu = null; + nodeContextMenu = null; + showVirtualMenu = false; if (e.button === 2) return; const pt = svgPoint(e); const target = e.target as HTMLElement; @@ -418,7 +420,7 @@ onDestroy(() => { destroyGraph(); }); - { contextMenu = null; nodeContextMenu = null; showVirtualMenu = false; }} /> + { contextMenu = null; nodeContextMenu = null; }} />
@@ -453,8 +455,7 @@ - - + {$nodes.length}N {$ports.length}P {$links.length}L {#if $patchbay.pinned_connections.length > 0}{$patchbay.pinned_connections.length}p{/if}