From bf5c7a8a038ff3b11548abdeb0a65828cd4dd2b6 Mon Sep 17 00:00:00 2001 From: Alexander Brown <448862+DrJKL@users.noreply.github.com> Date: Mon, 26 Jan 2026 00:16:25 -0800 Subject: [PATCH] refactor(GraphCanvas): Phase 1 - critical fixes - Fix dead isNativeWindow template condition (was impossible branch) - Add async cancellation guards to onMounted - Add cleanup for onSelectionChange in onUnmounted Amp-Thread-ID: https://ampcode.com/threads/T-019bf956-6121-720f-a40b-a0388bf7fb40 Co-authored-by: Amp --- src/components/graph/GraphCanvas.vue | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/components/graph/GraphCanvas.vue b/src/components/graph/GraphCanvas.vue index 5d7e9c199..a4bef29f4 100644 --- a/src/components/graph/GraphCanvas.vue +++ b/src/components/graph/GraphCanvas.vue @@ -4,15 +4,15 @@ synced with the stateStorage (localStorage). -->