From af6dd4194f288a4ff8d11077260430f86beb954d Mon Sep 17 00:00:00 2001 From: syuilo <Syuilotan@yahoo.co.jp> Date: Sun, 3 Jul 2022 19:11:10 +0900 Subject: [PATCH] fix(client): contextmenu of deck not working --- packages/client/src/ui/deck.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index 111cf8022..1cf1a1481 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -1,13 +1,12 @@ <template> <div class="mk-deck" :class="[{ isMobile }, `${deckStore.reactiveState.columnAlign.value}`]" :style="{ '--deckMargin': deckStore.reactiveState.columnMargin.value + 'px' }" - @contextmenu.self.prevent="onContextmenu" > <XSidebar v-if="!isMobile"/> <div class="main"> <XStatusBars class="statusbars"/> - <div ref="columnsEl" class="columns"> + <div ref="columnsEl" class="columns" @contextmenu.self.prevent="onContextmenu"> <template v-for="ids in layout"> <!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため --> <section