Browse Source

minor fix of mouse down flag handling

Dimitri Korsch 3 năm trước cách đây
mục cha
commit
e6a0b38b0f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      webui/src/components/media/annotation-box.vue

+ 1 - 0
webui/src/components/media/annotation-box.vue

@@ -11,6 +11,7 @@
        @contextmenu.prevent
        @mousedown.prevent="click"
        @mouseup.prevent="mousedown=false"
+       @mouseleave.prevent="mousedown=false"
 
        @touchstart.prevent="click"
        @touchend.prevent="mousedown=false"