Skip to content

Version 2.5.7

Compare
Choose a tag to compare
@rsimon rsimon released this 12 Oct 07:15
· 197 commits to main since this release
949b787

Features

  • Added a mechanism for widget plugins to use built-in I18N features and register their own localized UI labels

Behavior

  • Performance enhancement: for large numbers of annotations (>1.000), closing the editor no longer stalls the application. (The stall was caused by redrawing all annotations, to make sure larger annotations don't cover smaller ones. With the new change, only annotations overlapping the current selection are redrawn. Querying overlaps is accelerated with a 2D index.)
  • The editor now adjusts position when widgets are changing. This is to avoid mis-placement when the editor grows/shrinks
  • Draggable surfaces on the editor are now properly indicated with cursor move icon
  • In cases where the editor is pushed from its original position to remain in the view, the litte arrow now hides. This is to avoid the arrow pointing outside of the annotation.

Bugfixes

  • When dragging the image while an annotation is selected, dragging no longer closes the editor (#89)
  • Fixed a bug that caused layout problems in some cases, where CSS position was applied to the OSD container element (#87)
  • When importing via script-tag, source map file now loads properly
  • Fixed a regression bug that caused getSelected to always return undefined in headless mode
  • The saveImmediately option on updateSelected didn't work - fixed
  • Fixed a regression that broke the Vite production build

Other

  • Development build upgraded to Webpack 5