roosterjs 9.11.2 → 9.13.0

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.
@@ -1196,12 +1196,9 @@ var EditorAdapter = /** @class */ (function (_super) {
1196
1196
  */
1197
1197
  EditorAdapter.prototype.setZoomScale = function (scale) {
1198
1198
  if (scale > 0 && scale <= 10) {
1199
- var oldValue = this.getZoomScale();
1200
- if (oldValue != scale) {
1201
- this.triggerEvent('zoomChanged', {
1202
- newZoomScale: scale,
1203
- }, true /*broadcast*/);
1204
- }
1199
+ this.triggerEvent('zoomChanged', {
1200
+ newZoomScale: scale,
1201
+ }, true /*broadcast*/);
1205
1202
  }
1206
1203
  };
1207
1204
  /**