From f084212ce8b340f87f9c5c306ef5fbb923c76cd5 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Tue, 17 Mar 2026 08:31:12 +0300 Subject: [PATCH] Inline context menu into EditorCanvas, delete CanvasContextMenu.vue The wrapper component existed only to do hit-test + select on right-click, which is now editor.selectAtPoint(). The 5-line Reka UI ContextMenu composition belongs directly in EditorCanvas where the canvas ref lives. --- src/components/CanvasContextMenu.vue | 21 ------ src/components/EditorCanvas.vue | 102 +++++++++++++++------------ 2 files changed, 56 insertions(+), 67 deletions(-) delete mode 100644 src/components/CanvasContextMenu.vue diff --git a/src/components/CanvasContextMenu.vue b/src/components/CanvasContextMenu.vue deleted file mode 100644 index de5d7a5b1..000000000 --- a/src/components/CanvasContextMenu.vue +++ /dev/null @@ -1,21 +0,0 @@ - - - diff --git a/src/components/EditorCanvas.vue b/src/components/EditorCanvas.vue index 7edcb71a4..fa037094d 100644 --- a/src/components/EditorCanvas.vue +++ b/src/components/EditorCanvas.vue @@ -1,10 +1,11 @@