@univerjs/engine-render 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290732

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/lib/es/index.js CHANGED
@@ -62310,7 +62310,7 @@ class UE extends D2 {
62310
62310
  }
62311
62311
  clearSelectedObjects() {
62312
62312
  var e;
62313
- this._selectedObjectMap.clear(), (e = this._cancelFocusSubscription) == null || e.unsubscribe(), this._cancelFocusSubscription = null, this._clearControls(!0);
62313
+ this._selectedObjectMap.size !== 0 && (this._selectedObjectMap.clear(), (e = this._cancelFocusSubscription) == null || e.unsubscribe(), this._cancelFocusSubscription = null, this._clearControls(!0));
62314
62314
  }
62315
62315
  refreshControls() {
62316
62316
  return this._clearControlMap(), this._selectedObjectMap.forEach((e) => {
package/lib/index.js CHANGED
@@ -62310,7 +62310,7 @@ class UE extends D2 {
62310
62310
  }
62311
62311
  clearSelectedObjects() {
62312
62312
  var e;
62313
- this._selectedObjectMap.clear(), (e = this._cancelFocusSubscription) == null || e.unsubscribe(), this._cancelFocusSubscription = null, this._clearControls(!0);
62313
+ this._selectedObjectMap.size !== 0 && (this._selectedObjectMap.clear(), (e = this._cancelFocusSubscription) == null || e.unsubscribe(), this._cancelFocusSubscription = null, this._clearControls(!0));
62314
62314
  }
62315
62315
  refreshControls() {
62316
62316
  return this._clearControlMap(), this._selectedObjectMap.forEach((e) => {