@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.
@@ -412,7 +412,7 @@ class Cache {
412
412
  }
413
413
  const cache = new Cache();
414
414
 
415
- var version = "7.0.1-beta22";
415
+ var version = "7.0.1-beta23";
416
416
 
417
417
  // use this syntax so babel plugin see this import here
418
418
  const VERSION = version;
@@ -31070,13 +31070,12 @@ class Frame extends Group {
31070
31070
  });
31071
31071
  this._contentImage.dirty = true;
31072
31072
 
31073
- // Keep clipPath reference for the overlay effect rendering
31074
- // NOTE: We do NOT set this.clipPath = undefined because that triggers
31075
- // coordinate recalculations in Fabric that behave differently with
31076
- // viewport transforms (autoZoom), causing visual position jumps.
31077
- // Instead, we override drawObject() to skip clipPath rendering in edit mode.
31073
+ // Store and remove clipPath to show full image
31074
+ // We must actually remove it (not just skip rendering) because Fabric's
31075
+ // rendering pipeline checks clipPath existence in multiple places
31078
31076
  if (this.clipPath) {
31079
31077
  this._editModeClipPath = this.clipPath;
31078
+ this.clipPath = undefined;
31080
31079
  }
31081
31080
 
31082
31081
  // Add constraint handlers for moving/scaling
@@ -31355,8 +31354,11 @@ class Frame extends Group {
31355
31354
  objectCaching: true
31356
31355
  });
31357
31356
 
31358
- // Clear edit mode clip path reference (clipPath was never removed, just skipped during render)
31359
- this._editModeClipPath = undefined;
31357
+ // Restore clip path
31358
+ if (this._editModeClipPath) {
31359
+ this.clipPath = this._editModeClipPath;
31360
+ this._editModeClipPath = undefined;
31361
+ }
31360
31362
 
31361
31363
  // Restore caching setting
31362
31364
  if (this._editModeObjectCaching !== undefined) {