From 5e5e4ea64bc72d9557bb3fd12d0c73188ca73fb4 Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Mon, 20 Jun 2022 12:57:21 -0300 Subject: [PATCH] contextmenu gets selection not entry --- navigator/src/components/ContextMenu.vue | 199 +++++++++++++++++++---- navigator/src/views/Browser.vue | 20 ++- 2 files changed, 176 insertions(+), 43 deletions(-) diff --git a/navigator/src/components/ContextMenu.vue b/navigator/src/components/ContextMenu.vue index 29fb212..83794b9 100644 --- a/navigator/src/components/ContextMenu.vue +++ b/navigator/src/components/ContextMenu.vue @@ -28,6 +28,7 @@ If not, see . v-if="show" class="fixed inset-0 bg-transparent" @click="$emit('hide')" + @contextmenu.prevent="$emit('hide')" >
@@ -54,51 +55,152 @@ If not, see .
- - -
-
- + -
-
-
-
- -
+ + + + +
+ + +
+
@@ -106,14 +208,30 @@ If not, see .