Eric Tröbs 4 years ago
parent
commit
4cbdeeaf55
1 changed files with 6 additions and 3 deletions
  1. 6 3
      webui/src/components/media/annotation-box.vue

+ 6 - 3
webui/src/components/media/annotation-box.vue

@@ -12,14 +12,17 @@
         <img v-if="confirmationButton"
         <img v-if="confirmationButton"
              alt="confirm" src="@/assets/icons/check.svg"
              alt="confirm" src="@/assets/icons/check.svg"
              @click.stop.prevent="confirmSelf"
              @click.stop.prevent="confirmSelf"
-             @touchstart.stop.prevent="confirmSelf">
+             @touchstart.stop.prevent="confirmSelf"
+             @mousedown.stop.prevent>
         <img v-if="labelButton"
         <img v-if="labelButton"
              alt="label" src="@/assets/icons/tag.svg"
              alt="label" src="@/assets/icons/tag.svg"
              @click.stop.prevent="showLabelSelection = true"
              @click.stop.prevent="showLabelSelection = true"
-             @touchstart.stop.prevent="showLabelSelection = true">
+             @touchstart.stop.prevent="showLabelSelection = true"
+             @mousedown.stop.prevent>
         <img alt="delete" src="@/assets/icons/trash.svg"
         <img alt="delete" src="@/assets/icons/trash.svg"
              @click.stop.prevent="deleteSelf"
              @click.stop.prevent="deleteSelf"
-             @touchstart.stop.prevent="deleteSelf">
+             @touchstart.stop.prevent="deleteSelf"
+             @mousedown.stop.prevent>
       </template>
       </template>
     </div>
     </div>