@galacean/engine-ui 1.5.7 → 1.5.8

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/browser.js CHANGED
@@ -527,6 +527,14 @@
527
527
  return _this;
528
528
  }
529
529
  var _proto = UITransform.prototype;
530
+ /**
531
+ * @internal
532
+ */ _proto._copyFrom = function _copyFrom(transform) {
533
+ // @ts-ignore
534
+ Transform.prototype._copyFrom.call(this, transform);
535
+ this._size.copyFrom(transform.size);
536
+ this._pivot.copyFrom(transform.pivot);
537
+ };
530
538
  _proto._onSizeChange = function _onSizeChange() {
531
539
  // @ts-ignore
532
540
  this._entity._updateFlagManager.dispatch(512);