Skip to content

Version 2.5.9

Compare
Choose a tag to compare
@rsimon rsimon released this 03 Nov 08:51
· 152 commits to main since this release

Feature additions/behavior

  • Escape key now cancels drawing
  • Added getAnnotationById API method
  • Added removeDrawingTool API method
  • When adding a drawing tool that has the same ID as an existing one, addDrawingTool will replace it
  • Drawing tools can now implement behavior where drawing starts on a single click, rather than a drag. The default polygon tool implements this behavior already. Note that this behavior is disabled by default and can be enabled with a new drawOnSingleClick: true config property
  • It's now possible to display SVG shape annotations for which no drawing tool is available. (E.g. created with other tools, or created in another Annotorious instance that had specific tool plugins installed.) In this case, selecting the annotation will show the editor popup normally. The shape just won't be editable.

Bugfixes

  • Fixed a regression that broke touch selection and touchpad-tap selection on some devices (#99)
  • Fixed a regression that broke the disableSelect instance field
  • Fixed a bug that caused TiltedBox selections to become dumbed-down to polygons in gigapixel mode