Eric Tröbs 4 年之前
父节点
当前提交
4cbdeeaf55
共有 1 个文件被更改,包括 6 次插入3 次删除
  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"
              alt="confirm" src="@/assets/icons/check.svg"
              @click.stop.prevent="confirmSelf"
-             @touchstart.stop.prevent="confirmSelf">
+             @touchstart.stop.prevent="confirmSelf"
+             @mousedown.stop.prevent>
         <img v-if="labelButton"
              alt="label" src="@/assets/icons/tag.svg"
              @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"
              @click.stop.prevent="deleteSelf"
-             @touchstart.stop.prevent="deleteSelf">
+             @touchstart.stop.prevent="deleteSelf"
+             @mousedown.stop.prevent>
       </template>
     </div>