@evercam/ui 0.0.48 → 0.0.49-beta.1

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
@@ -5368,7 +5368,10 @@ const qt = {
5368
5368
  };
5369
5369
  },
5370
5370
  handleResize({ contentRect: e }) {
5371
- this.svg && (this.svg.attr("width", e.width), this.updateAndRedrawTimeline());
5371
+ if (!this.svg)
5372
+ return;
5373
+ const t = Number.parseInt(this.svg.attr("width")), r = e.width;
5374
+ Math.abs(t - r) > 100 && (this.svg.attr("width", e.width), this.updateAndRedrawTimeline());
5372
5375
  },
5373
5376
  handleDarkModeChange() {
5374
5377
  if (!this.showLabels)