emigre / openseadragon-annotations

Draw annotations over deep zoom images
BSD 3-Clause "New" or "Revised" License
97 stars 40 forks source link

Changing the cursor style for draw mode #32

Open abiswas97 opened 2 years ago

abiswas97 commented 2 years ago

I'm trying to change the cursor style based on mode, and tried to achieve this by setting annotations.overlay.style.cursor. The cursor successfully changes for the svg overlay on the viewport, however the cursosr reverts back whenever the viewer changes zoom. Any insight on how to go about this?