right click fix

This commit is contained in:
Peter Papp
2021-04-25 09:07:58 +02:00
parent c47886fb8b
commit 717dcb02ef
2 changed files with 4 additions and 2 deletions

View File

@@ -171,7 +171,8 @@ export default {
this.area = false
},
clickedItem(e) {
events.$emit('unClick')
// Disabled right click
if (e.button === 2) return
if (!this.$isMobile()) {

View File

@@ -170,7 +170,8 @@ export default {
this.area = false
},
clickedItem(e) {
events.$emit('unClick')
// Disabled right click
if (e.button === 2) return
if (!this.$isMobile()) {