Skip to content

Modes Part 1: Single Image Interface + Drop Node 8

Compare
Choose a tag to compare
@sashadev-sky sashadev-sky released this 15 Apr 04:44
· 503 commits to main since this release
0e6fcd6

Stay tuned for - Modes Part 2: Collection Interface! 🚀

v0.16.6

v0.15.6

  • Modes! Part 1: Single Image Interface (#586 by @sashadev-sky)

    • Features: You can now limit the usable modes via the pre-existing actions option. Details on this have been added to the README
    • API: Additional methods for interacting with mode - #getModes and #hasMode.
    • Breaking changess: L.UnlocksAction -> L.UnlockAction
    • Bug Fixes:
      • #nextMode (triggered via function or dblclick) won't iterate over modes that are removed from the image
      • Disable interactions with hidden image handles
    • Enhancements: Lock icons are now only visible when the image is deselected
  • Enhancements

    • Update method creation syntax from ES5 to ES6 for the L.DistortHandle (#601 by @GSKSan) and L.DragHandle (#606 by @terror) classes, and the L.MatrixUtil (#599 by @AkzharkynDM) and L.ImageUtil (#598 by @neelesh17) objects
    • Update L.FreeRotateHandle initialization to use class factory syntax (#589 by @imrishabh18)
    • Consolidate code for disabling image dragging into a single method (#585 by @prncvrm)
  • Features

    • Enable passing a function for custom toolbar translations (#573 by @adriankwiat)