fix(client): contextmenu of deck not working
This commit is contained in:
		
							parent
							
								
									26c89e053d
								
							
						
					
					
						commit
						af6dd4194f
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -1,13 +1,12 @@ | ||||||
| <template> | <template> | ||||||
| <div | <div | ||||||
| 	class="mk-deck" :class="[{ isMobile }, `${deckStore.reactiveState.columnAlign.value}`]" :style="{ '--deckMargin': deckStore.reactiveState.columnMargin.value + 'px' }" | 	class="mk-deck" :class="[{ isMobile }, `${deckStore.reactiveState.columnAlign.value}`]" :style="{ '--deckMargin': deckStore.reactiveState.columnMargin.value + 'px' }" | ||||||
| 	@contextmenu.self.prevent="onContextmenu" |  | ||||||
| > | > | ||||||
| 	<XSidebar v-if="!isMobile"/> | 	<XSidebar v-if="!isMobile"/> | ||||||
| 
 | 
 | ||||||
| 	<div class="main"> | 	<div class="main"> | ||||||
| 		<XStatusBars class="statusbars"/> | 		<XStatusBars class="statusbars"/> | ||||||
| 		<div ref="columnsEl" class="columns"> | 		<div ref="columnsEl" class="columns" @contextmenu.self.prevent="onContextmenu"> | ||||||
| 			<template v-for="ids in layout"> | 			<template v-for="ids in layout"> | ||||||
| 				<!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため --> | 				<!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため --> | ||||||
| 				<section | 				<section | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue