ailon / markerjs2

Add image annotation to your web apps.
https://markerjs.com
Other
142 stars 39 forks source link

Add correct cursors to markers #160

Closed bennymeier closed 1 year ago

bennymeier commented 1 year ago

Hi,

is it possible to add the correct cursors to the marker points where I can resize or move the markers? On the corners I would expect the nw-resize and ne-resize cursors. And in the middle left and middle right the w-resize cursor. On top middle and down middle the s-resize cursor.

Currently there is always the move cursor which sometimes confuses me. Cursors

Many greetings Benny

ailon commented 1 year ago

Yeah, I've made an attempt to address this a few times (starting before the v2 release, probably it even worked like that in v1). BUT, you forget that markers can be rotated in v2 and that's where this breaks. Couldn't figure out a way to make it look not weird at some angles.

Unless a way to rotate cursors was introduced since I last looked just having it as a "neutral" move cursor is the least confusing option, imho.