@annotorious/openseadragon 3.0.7 → 3.0.9

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.
@@ -2692,11 +2692,21 @@ function tg(r, t, e) {
2692
2692
  "annotation" in d && e(0, n = d.annotation), "editor" in d && e(1, o = d.editor), "style" in d && e(2, a = d.style), "target" in d && e(3, l = d.target), "transform" in d && e(4, h = d.transform), "viewportScale" in d && e(5, c = d.viewportScale);
2693
2693
  }, r.$$.update = () => {
2694
2694
  r.$$.dirty & /*annotation, style*/
2695
- 5 && (i = Vn(n, a)), r.$$.dirty & /*annotation, editorComponent*/
2695
+ 5 && e(7, i = Vn(n, a)), r.$$.dirty & /*annotation, editorComponent*/
2696
2696
  65 && n && (u == null || u.$set({ shape: n.target.selector })), r.$$.dirty & /*editorComponent, transform*/
2697
2697
  80 && u && u.$set({ transform: h }), r.$$.dirty & /*editorComponent, viewportScale*/
2698
- 96 && u && u.$set({ viewportScale: c });
2699
- }, [n, o, a, l, h, c, u];
2698
+ 96 && u && u.$set({ viewportScale: c }), r.$$.dirty & /*editorComponent, computedStyle*/
2699
+ 192 && u && i && u.$set({ computedStyle: i });
2700
+ }, [
2701
+ n,
2702
+ o,
2703
+ a,
2704
+ l,
2705
+ h,
2706
+ c,
2707
+ u,
2708
+ i
2709
+ ];
2700
2710
  }
2701
2711
  class eg extends fe {
2702
2712
  constructor(t) {
@@ -28854,7 +28864,7 @@ const fl = (r) => {
28854
28864
  const s = r.viewport.viewportToImageRectangle(r.viewport.getBounds(!0)), n = Wf(r);
28855
28865
  (n !== ds || !yr) && (yr = !0, e.forEach(({ stroke: d, strokeWidth: f }) => {
28856
28866
  const { lineStyle: p } = d.geometry.graphicsData[0];
28857
- f > 1 ? (yr = n === ds, p.width = f / n, d.geometry.invalidate()) : f === 1 && !p.native && (p.width = 1, p.native = !0, d.geometry.invalidate());
28867
+ f > 1 ? (yr = n === ds, p.width = f / n, p.native = !1, d.geometry.invalidate()) : f === 1 && !p.native && (p.width = 1, p.native = !0, d.geometry.invalidate());
28858
28868
  })), ds = n;
28859
28869
  const o = r.viewport.getFlip();
28860
28870
  let a = Math.PI * r.viewport.getRotation(!0) / 180;
@@ -30124,11 +30134,21 @@ function hE(r, t, e) {
30124
30134
  "annotation" in d && e(0, n = d.annotation), "editor" in d && e(1, o = d.editor), "style" in d && e(2, a = d.style), "target" in d && e(3, l = d.target), "transform" in d && e(4, h = d.transform), "viewportScale" in d && e(5, c = d.viewportScale);
30125
30135
  }, r.$$.update = () => {
30126
30136
  r.$$.dirty & /*annotation, style*/
30127
- 5 && (i = lE(n, a)), r.$$.dirty & /*annotation, editorComponent*/
30137
+ 5 && e(7, i = lE(n, a)), r.$$.dirty & /*annotation, editorComponent*/
30128
30138
  65 && n && (u == null || u.$set({ shape: n.target.selector })), r.$$.dirty & /*editorComponent, transform*/
30129
30139
  80 && u && u.$set({ transform: h }), r.$$.dirty & /*editorComponent, viewportScale*/
30130
- 96 && u && u.$set({ viewportScale: c });
30131
- }, [n, o, a, l, h, c, u];
30140
+ 96 && u && u.$set({ viewportScale: c }), r.$$.dirty & /*editorComponent, computedStyle*/
30141
+ 192 && u && i && u.$set({ computedStyle: i });
30142
+ }, [
30143
+ n,
30144
+ o,
30145
+ a,
30146
+ l,
30147
+ h,
30148
+ c,
30149
+ u,
30150
+ i
30151
+ ];
30132
30152
  }
30133
30153
  class cE extends ae {
30134
30154
  constructor(t) {