js-draw 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/bundle.js +1 -1
- package/dist/src/Editor.js +4 -4
- package/dist/src/SVGLoader.js +8 -2
- package/dist/src/Viewport.d.ts +1 -0
- package/dist/src/Viewport.js +6 -3
- package/dist/src/math/Path.js +10 -3
- package/dist/src/toolbar/IconProvider.d.ts +28 -2
- package/dist/src/toolbar/IconProvider.js +27 -2
- package/dist/src/tools/SelectionTool/Selection.d.ts +6 -0
- package/dist/src/tools/SelectionTool/Selection.js +12 -3
- package/dist/src/tools/SelectionTool/SelectionTool.js +5 -3
- package/dist/src/tools/SelectionTool/TransformMode.js +1 -1
- package/package.json +1 -1
- package/src/Editor.ts +4 -4
- package/src/SVGLoader.ts +9 -2
- package/src/Viewport.ts +7 -3
- package/src/math/Path.toString.test.ts +10 -0
- package/src/math/Path.ts +11 -3
- package/src/toolbar/IconProvider.ts +28 -6
- package/src/toolbar/toolbar.css +3 -0
- package/src/tools/SelectionTool/Selection.ts +16 -5
- package/src/tools/SelectionTool/SelectionTool.ts +5 -4
- package/src/tools/SelectionTool/TransformMode.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# 0.14.0
|
2
|
+
* Adjust default snap distance.
|
3
|
+
* Allow selection tool to mirror objects.
|
4
|
+
* Bug fixes
|
5
|
+
* Allow the meta key (cmd) to activate keyboard shortcuts. (E.g. cmd+a on MacOS should select all).
|
6
|
+
* Fix extra moveTo command being converted to a string with some strokes.
|
7
|
+
* Fix small icons in newer versions of Safari.
|
8
|
+
|
1
9
|
# 0.13.1
|
2
10
|
* Touchscreen panning: Rotation snapping
|
3
11
|
* Bug fixes
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# js-draw
|
2
2
|
|
3
|
-
[NPM package](https://www.npmjs.com/package/js-draw) | [GitHub](https://github.com/personalizedrefrigerator/js-draw) | [Documentation](https://personalizedrefrigerator.github.io/js-draw/typedoc/) | [Try it!](https://personalizedrefrigerator.github.io/js-draw/example/example.html)
|
3
|
+
[NPM package](https://www.npmjs.com/package/js-draw) | [GitHub](https://github.com/personalizedrefrigerator/js-draw) | [Documentation](https://personalizedrefrigerator.github.io/js-draw/typedoc/modules/lib.html) | [Try it!](https://personalizedrefrigerator.github.io/js-draw/example/example.html)
|
4
4
|
|
5
5
|

|
6
6
|
|