@annotorious/openseadragon 3.7.6 → 3.7.7

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.
@@ -281,7 +281,7 @@ const yg = 250, _g = (r, t) => {
281
281
  }, f = (_, v) => {
282
282
  _ ? n.setSelected(_, v) : n.clear();
283
283
  }, m = (_) => {
284
- n.clear(), n.setUserSelectAction(_);
284
+ n.setUserSelectAction(_);
285
285
  }, y = (_) => {
286
286
  if (e) {
287
287
  const v = e.parse(_).parsed, g = e.serialize(i.getAnnotation(v.id));
@@ -1816,7 +1816,7 @@ const ky = 250, Uy = (r, t) => {
1816
1816
  }, f = (_, v) => {
1817
1817
  _ ? n.setSelected(_, v) : n.clear();
1818
1818
  }, m = (_) => {
1819
- n.clear(), n.setUserSelectAction(_);
1819
+ n.setUserSelectAction(_);
1820
1820
  }, y = (_) => {
1821
1821
  if (e) {
1822
1822
  const v = e.parse(_).parsed, g = e.serialize(i.getAnnotation(v.id));
@@ -5105,6 +5105,7 @@ function V0(r, t, e) {
5105
5105
  ));
5106
5106
  }
5107
5107
  }, v = (R) => {
5108
+ if (!p) return;
5108
5109
  const C = R;
5109
5110
  if (f && clearTimeout(f), l === "click") {
5110
5111
  const I = C.timeStamp - u.timeStamp, M = Bs([u.offsetX, u.offsetY], [C.offsetX, C.offsetY]);