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

Diff

Changelog

Source

0.24.1

  • Bug fixes
    • Fixed a regression from v0.24.0: Some key combinations were recognized incorrectly. For example, r and R both, by default, caused the screen to rotate in the same direction (rather than opposite directions).
personalizedrefrigerator
published 0.24.0 •

Changelog

Source

0.24.0

  • Bug fixes
    • Fix italic <text ...></text> objects not supported.
  • Features
    • Support rendering relatively positioned text loaded from SVGs.
    • New drawable shape: circle. (Note, however, that SVG ellipses/elliptical arcs are not yet suppported.)
    • Exposes an API that allows configuration of some keyboard shortcuts.
personalizedrefrigerator
published 0.23.1 •

Changelog

Source

0.23.1

  • Bug fixes
    • Fix regression: overflow menu in toolbar could be pushed off screen on window resize.
    • Fix animations running despite prefers-reduced-motion being set to reduce.
    • Fix TextWidget content duplicating when added to/removed from overflow widget.
personalizedrefrigerator
published 0.23.0 •

Changelog

Source

0.23.0

  • Bug fixes
    • Fix background disappearing when near maximum zoom in certain images.
    • Fix default pen size not matching zoom when repeatedly drawing dots.
  • Features/enhancements
    • Animations for showing/hiding dropdowns in the toolbar.
    • Lock drawing/selection transformation to the x or y axis when holding shift
personalizedrefrigerator
published 0.22.1 •

Changelog

Source

0.22.1

  • Bug fixes
    • Fix color picker not having keyboard focus on open.
    • Fix screen readers not reading whether a toggle button was enabled/disabled.
    • Work around a command serialization/deserialization issue by caching the serialized form of commands in some instances.
personalizedrefrigerator
published 0.22.0 •

Changelog

Source

0.22.0

  • Improved German localization (thanks to @Mr-Kanister)
  • Behavior changes
    • Closing the color picker:
      • Don't draw when the user clicks on the canvas to close the color picker. Drawing is still done if the user clicks and drags.
  • Bug fixes
    • Fix eraser flickering while erasing strokes.
    • Fix in-progress strokes flickering during collaborative editing when incoming strokes are added to the editor.
personalizedrefrigerator
published 0.21.0 •

Changelog

Source

0.21.0

  • Color picker (adjustments to integration of the Coloris library)
    • Allow the user to start drawing without an extra click when closing the color picker.
    • Increase the size of sliders' touch targets for easier selection.
  • Adjust stroke smoothing: Strokes should now be closer to user input.
  • Erasing and selecting: Use the edge rather than the center of strokes to determine eraser/selection intersection.
    • This was previously only the case for filled strokes (as produced by the flat-tip pen).
personalizedrefrigerator
published 0.20.0 •

Changelog

Source

0.20.0

  • Added option for grid-patterned background.
personalizedrefrigerator
published 0.19.0 •

Changelog

Source

0.19.0

  • (Experimental) Sound-based image browsing.
    • Pressing tab repeatedly shows an "Enable sound-based exploration" button. Clicking this button plays a sound when a user subsequently clicks on the canvas. The sound is based on the color under the cursor.
  • Fixed
    • Pinch-zooming on a trackpad would zoom in to a point roughly 50px below the cursor.
    • Buttons accessible only by pressing "tab" repeatedly were hidden behind the editor's canvas in some browsers.
personalizedrefrigerator
published 0.18.2 •

Changelog

Source

0.18.2

  • Fix essential files missing from NPM.
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