From eba601e7fe175c7a7a2f91801a540b860d09262f Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 20 Feb 2022 19:34:52 +0000 Subject: [PATCH] Add option to disable map context menu --- index.html | 3 +++ src/components/Map.vue | 4 +++- src/index.d.ts | 1 + src/store/mutations.ts | 4 ++++ src/store/state.ts | 2 ++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3c336f0..f5156af 100644 --- a/index.html +++ b/index.html @@ -160,6 +160,9 @@ // Use more compact pre-2.0 player marker style compactPlayerMarkers: false, + + // Disable the map right click menu + disableContextMenu: false, }, // Config version. Do not modify. diff --git a/src/components/Map.vue b/src/components/Map.vue index 41488be..038ee7c 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -31,7 +31,7 @@ - +