@soomo/text-annotator 3.0.0-staging.15 → 3.0.0-staging.17
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.
|
@@ -536,7 +536,7 @@ const Ee = (t, e) => {
|
|
|
536
536
|
},
|
|
537
537
|
redraw: (a, s, u, f, m) => {
|
|
538
538
|
const p = !(gt(n, a) && m);
|
|
539
|
-
if (!f)
|
|
539
|
+
if (!f && !p)
|
|
540
540
|
return;
|
|
541
541
|
p && (e.innerHTML = "");
|
|
542
542
|
const g = a.reduce((y, { rects: v }) => [...y, ...v], []);
|
|
@@ -1829,7 +1829,8 @@ const En = (t, e) => {
|
|
|
1829
1829
|
return T.toString() !== ((b = s.selector[I]) == null ? void 0 : b.quote);
|
|
1830
1830
|
})) && (s = {
|
|
1831
1831
|
...s,
|
|
1832
|
-
selector: C.map((T) => se(T, t, o))
|
|
1832
|
+
selector: C.map((T) => se(T, t, o)),
|
|
1833
|
+
updated: /* @__PURE__ */ new Date()
|
|
1833
1834
|
}, i.getAnnotation(s.annotation) ? i.updateTarget(s, N.LOCAL) : (i.addAnnotation({
|
|
1834
1835
|
id: s.annotation,
|
|
1835
1836
|
bodies: [],
|