@soomo/text-annotator 3.0.0-staging.45 → 3.0.0-staging.47

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.
@@ -82,7 +82,7 @@ const It = /* @__PURE__ */ Ee(Se), Ce = (t) => {
82
82
  document.addEventListener("scroll", f, { capture: !0, passive: !0 });
83
83
  const y = It(() => {
84
84
  i.recalculatePositions(), u && u.reset(), p();
85
- });
85
+ }, 10);
86
86
  window.addEventListener("resize", y);
87
87
  const E = new ResizeObserver(y);
88
88
  E.observe(t);
@@ -133,7 +133,7 @@ const It = /* @__PURE__ */ Ee(Se), Ce = (t) => {
133
133
  });
134
134
  }
135
135
  });
136
- }), i = It(() => Te(e));
136
+ }), i = It(() => Te(e), 10);
137
137
  return window.addEventListener("resize", i), {
138
138
  destroy: () => {
139
139
  e.remove(), i.clear(), window.removeEventListener("resize", i);
@@ -2295,7 +2295,7 @@ const Ao = (t, e, n) => {
2295
2295
  bodies: [],
2296
2296
  target: c
2297
2297
  }, M.LOCAL), g.userSelect(c.annotation, d)));
2298
- });
2298
+ }, 10);
2299
2299
  document.addEventListener("selectionchange", v);
2300
2300
  const b = (w) => {
2301
2301
  d = Hn(w), p = d.button === 0, c = void 0;