@anu3ev/fabric-image-editor 0.1.9 → 0.1.10
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/main.js +5 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -151,7 +151,10 @@ class B {
|
|
|
151
151
|
}), this.editor.canvasManager.setResolutionHeight(t, {
|
|
152
152
|
adaptCanvasToContainer: !0,
|
|
153
153
|
withoutSave: !0
|
|
154
|
-
}), this.editor.canvasManager.centerMontageArea()
|
|
154
|
+
}), this.editor.canvasManager.centerMontageArea(), this.editor.selectionManager.selectAll(), this.editor.transformManager.fitObject({
|
|
155
|
+
fitAsOneObject: !0,
|
|
156
|
+
withoutSave: !0
|
|
157
|
+
});
|
|
155
158
|
}
|
|
156
159
|
/**
|
|
157
160
|
* Обработчик для Ctrl+C (копирование).
|
|
@@ -2329,7 +2332,7 @@ class H {
|
|
|
2329
2332
|
var h = a[d];
|
|
2330
2333
|
if (!r.includes(h) && n.some((g) => d > g))
|
|
2331
2334
|
return o = d, 1;
|
|
2332
|
-
}, c = 0; c < a.length && !s(c); c
|
|
2335
|
+
}, c = 0; c < a.length && !s(c); c += 1)
|
|
2333
2336
|
;
|
|
2334
2337
|
if (o !== -1) {
|
|
2335
2338
|
var u = r.map((l) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anu3ev/fabric-image-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "JavaScript image editor built on FabricJS, allowing you to create instances with an integrated montage area and providing an API to modify and manage state.",
|
|
5
5
|
"module": "dist/main.js",
|
|
6
6
|
"files": [
|