Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-draw

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-draw - npm Package Versions

1
12

1.10.0

Diff

Changelog

Source

1.10.0

  • Features
    • Added autocorrect for strokes — holding the pen stationary after drawing replaces near-rectangles and lines with lines and rectangles.
    • Added a "decrease image size" button to the image dialog to decrease the size of large images.
  • Bug fixes
    • Fixed: some tools unusable were unusable in right-to-left layout mode
personalizedrefrigerator
published 1.9.1 •

Changelog

Source

1.9.1

  • Bug fixes
    • Fix color selector tool broken on displays with window.devicePixelRatio not equal to 1.
  • Improvements
    • Work around possible division-by-zero errors in setting transforms by resetting the transform and logging a warning. Previously, this was unrecoverable.
personalizedrefrigerator
published 1.9.0 •

Changelog

Source

1.9.0

  • Performance improvements
    • Don't render components that will be completely covered by other (opaque) components in more cases.
    • Fix some browsers unable to garbage collect the SVG DOM element that an EditorImage was loaded from (when garbage collection should be okay).
  • Improvements
    • Support high resolution displays
personalizedrefrigerator
published 1.8.0 •

Changelog

Source

1.8.0

  • Features and improvements
    • Increased the minimum pinch rotation required to start rotation.
    • Performance improvement when zooming in to large strokes (particularly when these strokes are opaque).
  • Bug fixes
    • Fixed some rendering-cache-related display issues.
personalizedrefrigerator
published 1.7.2 •

Changelog

Source

1.7.2

  • Changes
    • Hide (js-draw v{{version}}) in about dialog if the application provides a custom description.
personalizedrefrigerator
published 1.7.1 •

Changelog

Source

1.7.1

  • Bug fixes
    • Selection: Make it more difficult to accidentally trigger the "rotate 90 degrees counter-clockwise feature" when dragging the rotate handle.
personalizedrefrigerator
published 1.7.0 •

Changelog

Source

1.7.0

  • Features and improvements
    • Selection tool
      • Improved autoscroll while dragging/transforming large selections
      • Decreased visible size of most selection handles (see discussion)
      • Mapped clicking the rotate handle to a counter-clockwise rotation of 90 degrees (matching the icon).
    • Show more information in the about dialog.
    • Performance improvement when zooming in near the endpoints of a large, stroked (and not filled) stroke.
  • Bug fixes
    • Fix inability to select immediately after touchscreen pinch zooming with an existing selection.
    • Fix selection boundary visible outside of the editor on pages where the editor isn't fullscreen.
    • Fix close/exit icon in the material icon pack's size in the dropdown toolbar.
    • Fix modifier keys (shift, ctrl, etc.) not registered as pressed if first pressed before focusing the editor.
personalizedrefrigerator
published 1.6.1 •

Changelog

Source

1.6.1

personalizedrefrigerator
published 1.6.0 •

Changelog

Source

1.6.0

  • Features
    • Allow specifying a custom app name and version in EditorSettings for the about dialog.
    • Improve the ToolController API for adding/removing tools
  • Bug fixes
    • Keyboard shortcut handling: Fix keyup events potentially triggered more times each time the editor loses focus.
    • Toolbar: Fix pressing space not toggling dropdowns after switching toolbars.
    • Toolbar: Fix tool widgets not set to selected when first added to the toolbar when enabled.
    • Toolbar: Fix small (1px) space between the toolbar and rendered content
    • Material icon integration: Fix rounded pen icon has flat stroke edges.
    • SVGLoader: Support loading SVGs within sandboxed iframes.
    • Collaborative editing: Fix inverted Erase commands having no effect after serialized then deserialized.
personalizedrefrigerator
published 1.5.0 •

Changelog

Source

1.5.0

  • Bug fixes
    • Make tooltips less likely to appear when scrolling the toolbar with touch.
    • Fix empty selection transformations added to the undo stack.
    • Fix diagonal resize cursors appearing as "shrink diagonally" on MacOS and possibly other systems.
  • Other improvements
    • Allow changing the icon/label of "Save" and "Exit" buttons
    • Move "Exit" to the left of "Save" by default
    • Make the "Save"/"Exit" icons closer to the text size
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc