annotorious / annotorious

Add image annotation functionality to any web page with a few lines of JavaScript.
http://annotorious.dev
BSD 3-Clause "New" or "Revised" License
663 stars 100 forks source link

Handle clicks outside the image #415

Open utkukaya opened 3 months ago

utkukaya commented 3 months ago

When polygon or other shapes are drawing, the edges and corners of images cannot be drawn easily. Is there any enhancement for this?

rsimon commented 3 months ago

Hi, can you explain a bit more about what you mean? Do you mean you cannot exactly click e.g. the (0/0) coordinate of an image? Would you want to pin shapes against the edge of an image?

Also: can you specify which version of Annotorious you are referring to?

utkukaya commented 3 months ago

1

https://github.com/annotorious/annotorious/assets/43851139/dde151c9-389e-4004-8c41-1bfba602c43d You can see example video. The edges cannot be clicked in some cases

rsimon commented 3 months ago

Got it, thanks. Yes, clicks are currently not handled outside of the image in Annotorious v2.7. But that would be easily addressable in Annotorious 3. I'll put it on the list.

utkukaya commented 3 months ago

Okay, thanks.