@svgedit/svgcanvas 7.2.3 → 7.2.6
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/CHANGES.md +7 -0
- package/core/coords.js +203 -99
- package/core/draw.js +129 -56
- package/core/event.js +13 -3
- package/core/math.js +138 -154
- package/core/recalculate.js +232 -613
- package/core/sanitize.js +33 -5
- package/core/selected-elem.js +1 -1
- package/core/selection.js +1 -1
- package/core/svg-exec.js +165 -142
- package/core/text-actions.js +160 -129
- package/dist/svgcanvas.js +20398 -19159
- package/dist/svgcanvas.js.map +1 -1
- package/package.json +4 -2
- package/svgcanvas.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svgedit/svgcanvas",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.6",
|
|
4
4
|
"description": "SVG Canvas",
|
|
5
5
|
"main": "dist/svgcanvas.js",
|
|
6
6
|
"author": "Narendra Sisodiya",
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
"not OperaMini all"
|
|
39
39
|
],
|
|
40
40
|
"standard": {
|
|
41
|
-
"ignore": [
|
|
41
|
+
"ignore": [
|
|
42
|
+
"dist"
|
|
43
|
+
],
|
|
42
44
|
"globals": [
|
|
43
45
|
"cy",
|
|
44
46
|
"assert"
|
package/svgcanvas.js
CHANGED
|
@@ -852,7 +852,7 @@ class SvgCanvas {
|
|
|
852
852
|
// create new document
|
|
853
853
|
this.current_drawing_ = new draw.Drawing(this.svgContent)
|
|
854
854
|
// create empty first layer
|
|
855
|
-
this.createLayer(
|
|
855
|
+
this.createLayer()
|
|
856
856
|
// clear the undo stack
|
|
857
857
|
this.undoMgr.resetUndoStack()
|
|
858
858
|
// reset the selector manager
|