Explorar o código

minor fix of mouse down flag handling

Dimitri Korsch %!s(int64=3) %!d(string=hai) anos
pai
achega
e6a0b38b0f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"