@annotorious/openseadragon 3.0.17 → 3.0.18

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.
@@ -121,7 +121,7 @@ let lp = () => ({
121
121
  });
122
122
  const hp = 250, cp = (r, t) => {
123
123
  const e = lp(), i = t || [];
124
- let s = -1, n = !1, o = 0;
124
+ let s = i.length - 1, n = !1, o = 0;
125
125
  const a = (f) => {
126
126
  if (!n) {
127
127
  const { changes: m } = f, _ = performance.now();
@@ -1296,7 +1296,7 @@ let mm = () => ({
1296
1296
  });
1297
1297
  const gm = 250, ym = (r, t) => {
1298
1298
  const e = mm(), i = t || [];
1299
- let s = -1, n = !1, o = 0;
1299
+ let s = i.length - 1, n = !1, o = 0;
1300
1300
  const a = (f) => {
1301
1301
  if (!n) {
1302
1302
  const { changes: m } = f, _ = performance.now();