annotorious / annotorious-openseadragon

An OpenSeadragon plugin for annotating high-res zoomable images
https://annotorious.github.io
BSD 3-Clause "New" or "Revised" License
121 stars 42 forks source link

Add hit test for line shape #132

Closed rsimon closed 1 year ago

rsimon commented 2 years ago

The hit test for lines currently returns true. Change, so that it actually checks if the mouse is above the line (with a small +/- buffer - a scale dependent buffer is already available in the hit test method).

Related to this PR: https://github.com/recogito/annotorious-openseadragon/pull/131

rsimon commented 1 year ago

This is now fixed thanks to PR #146 by @Architrixs