Socket
Socket
Sign inDemoInstall

js-draw

Package Overview
Dependencies
Maintainers
1
Versions
117
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.8.0

Diff

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
personalizedrefrigerator
published 1.4.1 •

Changelog

Source

1.4.1

  • Bug fixes
    • Fix minDimension argument not resizing the background when toSVG was called on an empty, auto-resizing image.
personalizedrefrigerator
published 1.4.0 •

Changelog

Source

1.4.0

  • Featrues
    • Editor::toSVG now allows specifying a minimum output dimension.
    • Added Editor::toSVGAsync.
    • Added support for read-only editors (see Editor::setReadOnly). Note that this feature only attempts to prevent a user from editing the image (and doesn't protect from edits via the API).
    • Change the cursor to a resize icon when hovering over selection resize boxes.
  • Localization
    • Improved Spanish localization.
  • Bug fixes
    • Navigation: Prevent app from entering an invalid state (and thus breaking navigation) when scrolling very far away from (0,0) then zooming in.
    • Edge toolbar
      • Fix: Save/close buttons were extra wide on some screen sizes in Safari.
      • Fix: Padding not adjusted for scroll when icons are all on one line. When working properly, the rightmost icon should be roughly half visible to indicate scroll.
personalizedrefrigerator
published 1.3.1 •

Changelog

Source

1.3.1

  • Bug fixes
    • Fix grid lines disappearing when zooming and autoresize enabled
    • Fix very small image/text elements moving on save/reload
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