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

0.9.0

Diff

Changelog

Source

0.9.0

  • Allow saving toolbar widget state (see HTMLToolbar#serializeState and HTMLToolbar#deserializeState).
    • Breaking change: Toolbar widgets now require an id. As such, the order and number of parameters to BaseWidget has changed.
  • Add rotation lock button to hand toolbar widget.
  • Bug fixes
    • Fixed colors of color picker previews not matching value of the input (and thus not matching the actual color of the tool).
    • Fixed Path::fromRect producing an open shape. This caused issues with collision detection (for erasing and determining whether the rectangles should be visible).
personalizedrefrigerator
published 0.8.0 •

Changelog

Source

0.8.0

  • Use non-pressure-sensitive strokes by default for most tools
    • These strokes should be have fewer bugs/issues than the pressure sensitive strokes.
personalizedrefrigerator
published 0.7.2 •

Changelog

Source

0.7.2

  • Bug fixes
    • Fix multi-line text displaying in wrong position in exported SVGs.
    • Fix editing a different text node sometimes changing the color/font of the previous text node.
personalizedrefrigerator
published 0.7.1 •

Changelog

Source

0.7.1

  • Fix scrollbars in text tool appearing when they should not (mostly in Chrome).
personalizedrefrigerator
published 0.7.0 •

Changelog

Source

0.7.0

  • Text tool
    • Edit existing text.
    • Shift+enter to insert a new line.
    • Preserve multi-line text when loading/saving
  • Pen
    • Decrease smoothing amount for thick strokes.
personalizedrefrigerator
published 0.6.0 •

Changelog

Source

0.6.0

  • Selection tool:
    • Shift+click extends a selection
    • ctrl+d duplicates selected objects
    • ctrl+r resizes the image to the selected region
    • ctrl+a selects everything (when the selection tool is enabled)
  • Panning tool: Toggle all device panning by clicking on the hand button.
  • HandToolWidget now expects, but does not require, a primary hand tool to work properly. See ToolController#addPrimaryTool.
  • Breaiking changes:
    • Icons are no longer accessible through import {makeFooIcon} from '...'. Use editor.icons.makeFooIcon instead.
personalizedrefrigerator
published 0.5.0 •

Changelog

Source

0.5.0

  • Increase contrast between selection box/background
  • Keyboard shortcuts
    • Ctrl+1 through Ctrl+9: Switch pen drawing mode.
      • For this to work, the ToolbarShortcutHandler must be loaded (and the toolbar must also be loaded).
  • Bug fixes
    • Fix text shifting away from strokes on paste.
personalizedrefrigerator
published 0.4.1 •

Changelog

Source

0.4.1

  • Bug fixes
    • Fix in-progress strokes occasionally flickering and disappearing.
      • This was caused by a division-by-zero error.
    • Increase contrast between disabled and enabled buttons.
    • Copy selected text objects as text.
personalizedrefrigerator
published 0.4.0 •

Changelog

Source

0.4.0

  • Moved the selection tool rotate handle to the top, added resize horizontally and resize vertically handles.
  • Selection-tool-related bug fixes
    • Reduced increase in file size after rotating/resizing selected objects.
    • Fix "resize to selection" button disabled when working with selections created by pasting.
  • Other bug fixes
    • Fix occasional stroke distortion when saving.
personalizedrefrigerator
published 0.3.2 •

Changelog

Source

0.3.2

  • Embedded PNG/JPEG image loading
  • Copy and paste
  • Open images when dropped into editor
  • Keyboard shortcuts:
    • Delete/Backspace deletes selected content.
    • Ctrl+C, Ctrl+V for copy/paste.
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