Browse Source

minor fix of mouse down flag handling

Dimitri Korsch 3 years ago
parent
commit
e6a0b38b0f
1 changed files with 1 additions and 0 deletions
  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"