@evercam/ui 1.0.0-preview-fix-watermark-size-and-position-e7fb41762 → 1.0.0-preview-fix-watermark-size-and-position-3069b9974

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
@@ -13955,13 +13955,13 @@ const Ji = w2.exports, Ln = { width: 0, height: 0, left: 0, top: 0 }, S2 = R.ext
13955
13955
  this.handleWatermarkResize();
13956
13956
  },
13957
13957
  handleWatermarkResize() {
13958
- const { naturalWidth: t, naturalHeight: e } = this.afterImage, { width: r, height: n } = this.computedImageDimension, i = t > e, o = i ? t : e, a = i ? r : n, u = 0.04, s = 0.02, l = (m) => m * a / o, d = l(o * u), f = l(o * s);
13958
+ const { naturalWidth: t, naturalHeight: e } = this.afterImage, { width: r, height: n } = this.computedImageDimension, i = t > e, o = i ? t : e, a = i ? r : n, u = 0.04, s = 0.01, l = (m) => m * a / o, d = l(o * u), f = l(o * s);
13959
13959
  this.watermarkDimension = {
13960
13960
  right: `${f}px`,
13961
13961
  bottom: `${f}px`,
13962
13962
  width: `${d}px`,
13963
13963
  height: `${d}px`
13964
- }, console.log(this.watermarkDimension);
13964
+ };
13965
13965
  },
13966
13966
  handleMouseMove(t) {
13967
13967
  if (!this.isSeparatorDragging)