Open ferropasha opened 6 months ago
As to 2nd problem, probably you need to hold SHIFT
key while clicking and dragging the mouse to create a new annotation. I tried to use annotorious-osd in environment similar to yours, but it worked without problems.
https://annotorious.github.io/getting-started/osd-plugin/
I am trying to use annotorious-osd combination in a vue 3 app. It works to some extent but with some strange limitations. I can successfully import both OSD and annotorious-osd, then create annotorious instance, passing OSD object as a parameter. Adding annotations via anno.loadAnnotations() or by drawing them by hand is also possible, but then there are the problems.
1) Any annotations that can be added programmatically via loadAnnotations() method are impossible to interact with, clicking on the selection box doesn't do anything 2) Annotations added manually are clickable, draggable and resizable but I can't draw more than one at a time, and if I delete it later it is impossible to draw new one unless I reload the page.
I realize that it is probably more of a vue-related problem rather than annotorious-osd one, but nevertheless if anyone can offer some advice I would be very grateful to hear it. Below is full code of my vue 3 component.