@inweb/markup 26.9.2 → 26.9.3
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/dist/markup.js +831 -788
- package/dist/markup.js.map +1 -1
- package/dist/markup.min.js +1 -1
- package/dist/markup.module.js +150 -150
- package/dist/markup.module.js.map +1 -1
- package/package.json +3 -3
- package/src/markup/Konva/KonvaMarkup.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/markup",
|
|
3
|
-
"version": "26.9.
|
|
3
|
+
"version": "26.9.3",
|
|
4
4
|
"description": "JavaScript 2D markups",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"docs": "typedoc"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@inweb/eventemitter2": "~26.9.
|
|
30
|
-
"@inweb/viewer-core": "~26.9.
|
|
29
|
+
"@inweb/eventemitter2": "~26.9.3",
|
|
30
|
+
"@inweb/viewer-core": "~26.9.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"konva": "^9.3.18"
|
|
@@ -1035,7 +1035,7 @@ export class KonvaMarkup implements IMarkup {
|
|
|
1035
1035
|
if (!text) return;
|
|
1036
1036
|
|
|
1037
1037
|
// in case of edit - remove old Konva.Text object
|
|
1038
|
-
this.getSelectedObjects().
|
|
1038
|
+
this.getSelectedObjects().shift()?.delete();
|
|
1039
1039
|
|
|
1040
1040
|
this.clearSelected();
|
|
1041
1041
|
this.removeTextInput();
|
|
@@ -1181,7 +1181,7 @@ export class KonvaMarkup implements IMarkup {
|
|
|
1181
1181
|
if (!position || !src) return;
|
|
1182
1182
|
|
|
1183
1183
|
// in case of edit - remove old Image placeholder object
|
|
1184
|
-
this.getSelectedObjects().
|
|
1184
|
+
this.getSelectedObjects().shift()?.delete();
|
|
1185
1185
|
|
|
1186
1186
|
this.clearSelected();
|
|
1187
1187
|
this.removeImageInput();
|