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

0.7.1

Diff

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.
personalizedrefrigerator
published 0.3.1 •

Changelog

Source

0.3.1

  • Keyboard shortcuts:
    • Press Ctrl+1 to select the first pen, Ctrl+2 to select the second, etc.
    • When a pen is active, press + to increase a pen's size, - to decrease it.
  • Performance:
    • Cache Path::toString results for faster saving to SVG.
personalizedrefrigerator
published 0.3.0 •

Changelog

Source

0.3.0

  • Pen-related bug fixes
  • API: Allow creating custom tools and tool widgets.
personalizedrefrigerator
published 0.2.3 •

Changelog

Source

0.2.3

  • Fix lines with thickness set to small numbers self-intersecting many times.
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