New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-draw

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-draw - npm Package Versions

1
810
13

0.11.1

Diff
personalizedrefrigerator
published 0.11.1 •

Changelog

Source

0.11.1

  • Performance: Faster eraser and selection tools.
  • Bug fixes
    • Selection tool: Don't allow components to be in the selection multiple times.
personalizedrefrigerator
published 0.11.0 •

Changelog

Source

0.11.0

  • Added a dialog for inserting images and changing existing image alt text.
  • Inertial scrolling: Workaround issue on some devices on touch gesture cancel.
personalizedrefrigerator
published 0.10.3 •

Changelog

Source

0.10.3

  • Inertial scrolling: Don't start inertial scroll if a gesture was, in total, shorter than roughly 30 ms. Such gestures can be caused accidentally. For example, by resting/lifting a hand from a device screen.
personalizedrefrigerator
published 0.10.2 •

Changelog

Source

0.10.2

  • Performance improvements
personalizedrefrigerator
published 0.10.1 •

Changelog

Source

0.10.1

  • Different icons for rounded pens.
  • Bug fixes
    • Different pen types, for the same size, previously had different actual widths.
    • Inertial touchscreen scrolling previously sometimes started even if the initiating gesture was, just before stopping, stationary for several seconds.
personalizedrefrigerator
published 0.10.0 •

Changelog

Source

0.10.0

  • Inertial touchscreen scrolling.
  • Bug fixes
    • Fixed keyboard shortcuts broken when undo/redo buttons are selected.
    • Fixed text objects saving with duplicate properties.
    • Fixed blank lines disappearing from text objects when attempting to edit a loaded-from-file text object.
  • Breaking changes
    • HTMLToolbar::addActionButton no longer takes a parent argument and returns a BaseWidget.
personalizedrefrigerator
published 0.9.3 •

Changelog

Source

0.9.3

  • Decrease amount text shifts by when editing.
  • Text toolbar widget: Added a font size option.
personalizedrefrigerator
published 0.9.2 •

Changelog

Source

0.9.2

  • Added a find dialog that can be opened with ctrl+f
personalizedrefrigerator
published 0.9.1 •

Changelog

Source

0.9.1

  • Bug fixes:
  • Fix line tool producing an open shape. This caused issues with erasing and zooming in on these shapes.
  • Export SVG images with fill='none' instead of fill='#00000000' — some SVG readers ignore the transparency encoded in #00000000.
personalizedrefrigerator
published 0.9.0 •

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).