@nasser-sw/fabric 7.0.1-beta21 → 7.0.1-beta22

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/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-beta20";
357
+ var version = "7.0.1-beta21";
358
358
 
359
359
  // use this syntax so babel plugin see this import here
360
360
  const VERSION = version;
@@ -31012,9 +31012,10 @@ class Frame extends Group {
31012
31012
  this._setupEditModeConstraints();
31013
31013
  this.set('dirty', true);
31014
31014
 
31015
- // Select the content image on the canvas
31015
+ // Just render - don't call setActiveObject() on the content image
31016
+ // because it causes position miscalculation with viewport transforms.
31017
+ // The content image is still interactive via subTargetCheck = true
31016
31018
  if (this.canvas) {
31017
- this.canvas.setActiveObject(this._contentImage);
31018
31019
  this.canvas.renderAll();
31019
31020
  }
31020
31021