Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@js-draw/math

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-draw/math - npm Package Versions

13

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

Changelog

Source

1.3.0

  • Features
    • Adds support for images with full-screen backgrounds and no border (see EditorImage.setAutoresizeEnabled). These drawings automatically resize to fit what has been drawn when saved.
    • Scrollbars within the editor. These scrollbars are currently read-only.
  • Bug fixes
    • Fix ctrl+scroll zoom rate is significantly faster than pinch zooming.
    • Fix zoom level jumping when attempting to zoom outside of zoom limits with a touchscreen.
    • Fix elements intersecting the selection rectangle not recognized as selected in some cases.
    • Fix context menu sometimes shown when long-pressing toplevel buttons in the sidebar toolbar (rather than showing the button's tooltip).
  • Other changes
    • Slightly faster loading of large SVGs.
personalizedrefrigerator
published 1.2.2 •

Changelog

Source

1.2.2

  • API fixes
    • Exports pathToRenderable, pathFromRenderable, and pathVisualEquivalent. These functions were renamed in version 1.0.0 and the new versions were not exported.
  • Bug fixes
    • Updates the grid selector widget to use the correct icon foreground for selected items.
personalizedrefrigerator
published 1.2.1 •

Changelog

Source

1.2.1

  • Bug fixes
    • Fix adjustEditorThemeForContrast not ensuring that the selection and the main toolbar background have sufficient contrast.
personalizedrefrigerator
published 1.2.0 •

Changelog

Source

1.2.0

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