Skip to content

Releases: personalizedrefrigerator/js-draw

v1.21.3

23 Sep 18:17
Compare
Choose a tag to compare

1.21.3

  • Bug fixes
    • Fix tools/ directory incorrectly in .npmignore.

v1.21.2

23 Sep 18:07
Compare
Choose a tag to compare
  • Bug fixes
    • Fix copy icon is small when the selection context menu is opened near the screen edge.
    • Prevent selection from flashing when opening the context menu by long-pressing outside the selection box.
    • Remove from-root imports (import ... from 'js-draw/...).

Full Changelog: v1.21.1...v1.21.2

v1.21.1

17 Sep 03:59
Compare
Choose a tag to compare
  • 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.

v1.20.3

04 Jun 16:46
Compare
Choose a tag to compare

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: v1.20.2...v1.20.3

v1.20.2

20 May 02:42
Compare
Choose a tag to compare

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: v1.20.1...v1.20.2

v1.20.1

19 May 03:56
Compare
Choose a tag to compare

What's changed?

  • Bug fixes
    • Image tool: When multiple images are selected, 7968ee3 fixes an issue where the ALT text for the last selected image would be applied to all images.

Full Changelog: v1.20.0...v1.20.1

v1.20.0

17 May 00:18
Compare
Choose a tag to compare

What's changed?

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

Full Changelog: v1.19.1...v1.20.0

v1.19.1

15 May 15:42
Compare
Choose a tag to compare

What's Changed

  • Slight memory usage improvement by in #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: v1.18.0...v1.19.1

v1.19.0

15 May 15:39
Compare
Choose a tag to compare

What's Changed

  • Slight memory usage improvement in #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: v1.18.0...v1.19.0

v1.18.0

22 Mar 19:15
Compare
Choose a tag to compare

What's Changed

  • Features
    • Partial stroke eraser in #63

      stroke-eraser.mp4
    • Improve on and make the polyline pen one of the defaults.

    • Add an API to allow removing pen types from the toolbar.

  • Bug fixes
    • Fix LineSegment2.intersects can return an incorrect value for very-near vertical lines
    • Fix Vec3.eq always returned true when comparing with NaN (e.g. Vec3(NaN, NaN, NaN).eq(Vec3(1, 2, 3)) was true).
    • Fix autoresized images could incorrectly calculate the top-left corner of the full image in some cases.
  • Improvements
    • Fix highlighter pen could include near-duplicate, overlapping copies of curves in its output.

Full Changelog: v1.17.0...v1.18.0