@nasser-sw/fabric 7.0.1-beta23 → 7.0.1-beta24
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/.history/package_20251226230102.json +164 -0
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +10 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.node.cjs +10 -8
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +10 -8
- package/dist/index.node.mjs.map +1 -1
- package/dist/package.json.min.mjs +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/shapes/Frame.d.ts.map +1 -1
- package/dist/src/shapes/Frame.min.mjs +1 -1
- package/dist/src/shapes/Frame.min.mjs.map +1 -1
- package/dist/src/shapes/Frame.mjs +9 -7
- package/dist/src/shapes/Frame.mjs.map +1 -1
- package/dist-extensions/src/shapes/Frame.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shapes/Frame.ts +9 -7
package/dist/index.mjs
CHANGED
|
@@ -354,7 +354,7 @@ class Cache {
|
|
|
354
354
|
}
|
|
355
355
|
const cache = new Cache();
|
|
356
356
|
|
|
357
|
-
var version = "7.0.1-
|
|
357
|
+
var version = "7.0.1-beta23";
|
|
358
358
|
|
|
359
359
|
// use this syntax so babel plugin see this import here
|
|
360
360
|
const VERSION = version;
|
|
@@ -31012,13 +31012,12 @@ class Frame extends Group {
|
|
|
31012
31012
|
});
|
|
31013
31013
|
this._contentImage.dirty = true;
|
|
31014
31014
|
|
|
31015
|
-
//
|
|
31016
|
-
//
|
|
31017
|
-
//
|
|
31018
|
-
// viewport transforms (autoZoom), causing visual position jumps.
|
|
31019
|
-
// Instead, we override drawObject() to skip clipPath rendering in edit mode.
|
|
31015
|
+
// Store and remove clipPath to show full image
|
|
31016
|
+
// We must actually remove it (not just skip rendering) because Fabric's
|
|
31017
|
+
// rendering pipeline checks clipPath existence in multiple places
|
|
31020
31018
|
if (this.clipPath) {
|
|
31021
31019
|
this._editModeClipPath = this.clipPath;
|
|
31020
|
+
this.clipPath = undefined;
|
|
31022
31021
|
}
|
|
31023
31022
|
|
|
31024
31023
|
// Add constraint handlers for moving/scaling
|
|
@@ -31297,8 +31296,11 @@ class Frame extends Group {
|
|
|
31297
31296
|
objectCaching: true
|
|
31298
31297
|
});
|
|
31299
31298
|
|
|
31300
|
-
//
|
|
31301
|
-
this._editModeClipPath
|
|
31299
|
+
// Restore clip path
|
|
31300
|
+
if (this._editModeClipPath) {
|
|
31301
|
+
this.clipPath = this._editModeClipPath;
|
|
31302
|
+
this._editModeClipPath = undefined;
|
|
31303
|
+
}
|
|
31302
31304
|
|
|
31303
31305
|
// Restore caching setting
|
|
31304
31306
|
if (this._editModeObjectCaching !== undefined) {
|