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