js-draw

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a freehand drawing library for JavaScript and TypeScript.

MIT License

Stars
85
js-draw - v1.21.1 Latest Release

Published by personalizedrefrigerator about 1 month ago

  • Features
    • Selection popover menu with copy/paste/duplicate/delete.
    • Make selection keyboard shortcuts configurable.
    • Add keyboard shortcuts to scale the selection in both X and Y.
  • Changes
    • Hide selection handles while creating selections.
  • Bug fixes
    • Fix drawing strokes with stylus devices not marked as primary (#71).
    • Fix <image>s with an empty href cause rendering errors.
js-draw - v1.20.3

Published by personalizedrefrigerator 5 months ago

v1.20.3

  • Bug fixes
    • Fix importing js-draw, js-draw/Editor, and other imports that include SVGLoader or InsertImageWidget as ES modules (#70).
    • Fix importing js-draw/Editor as a CommonJS module.
    • Fix rounding size was too large at some zoom levels with the polyline pen.

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.20.2...v1.20.3

js-draw - v1.20.2

Published by personalizedrefrigerator 5 months ago

What's changed?

  • Bug fix: Image tool: When multiple images are selected, fixes an issue where the ALT text for some images was set to the string undefined.

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.20.1...v1.20.2

js-draw - v1.20.1

Published by personalizedrefrigerator 5 months ago

What's changed?

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.20.0...v1.20.1

js-draw - v1.20.0

Published by personalizedrefrigerator 5 months ago

What's changed?

  • Features
  • Improvements
    • Improve performance when loading large images.

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.19.1...v1.20.0

js-draw - v1.19.1

Published by personalizedrefrigerator 6 months ago

What's Changed

  • Slight memory usage improvement by in https://github.com/personalizedrefrigerator/js-draw/pull/68
  • Features
    • Support adding multiple images at once from the image tool.
    • API to support customizing the default selectable fonts.
    • (Beta) Image tool: Support specifying a custom file picker.
  • Bug fixes
    • Possible fix for eraser button not switching to the eraser tool on some devices.
    • Fix rendering text with a multi-word font.
  • Improvements
    • Decrease size of Vec2s in memory.

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.18.0...v1.19.1

js-draw - v1.19.0

Published by personalizedrefrigerator 6 months ago

What's Changed

  • Slight memory usage improvement by in https://github.com/personalizedrefrigerator/js-draw/pull/68
  • Features
    • Support adding multiple images at once from the image tool.
    • API to support customizing the default selectable fonts.
    • (Beta) Image tool: Support specifying a custom file picker.
  • Bug fixes
    • Possible fix for eraser button not switching to the eraser tool on some devices.
    • Fix rendering text with a multi-word font.
  • Improvements
    • Decrease size of Vec2s in memory.

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.18.0...v1.19.0

js-draw - v1.18.0

Published by personalizedrefrigerator 7 months ago

What's Changed

Full Changelog: https://github.com/personalizedrefrigerator/js-draw/compare/v1.17.0...v1.18.0