@thatopen/components 2.0.15 → 2.0.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.
package/dist/index.mjs CHANGED
@@ -2998,7 +2998,7 @@ class Rr {
2998
2998
  return (t.clientX - e.left) / (e.right - e.left) * 2 - 1;
2999
2999
  }
3000
3000
  setupEvents(e) {
3001
- e ? this.dom.addEventListener("mousemove", this.updateMouseInfo) : this.dom.removeEventListener("mousemove", this.updateMouseInfo);
3001
+ e ? this.dom.addEventListener("pointermove", this.updateMouseInfo) : this.dom.removeEventListener("pointermove", this.updateMouseInfo);
3002
3002
  }
3003
3003
  }
3004
3004
  class Ar {
@@ -10416,10 +10416,8 @@ const Ms = class Ms extends et {
10416
10416
  set(t, s) {
10417
10417
  const i = this.components.get(ut);
10418
10418
  if (!s) {
10419
- for (const o in i.list) {
10420
- const n = i.list.get(o);
10419
+ for (const [o, n] of i.list)
10421
10420
  n && (n.setVisibility(t), this.updateCulledVisibility(n));
10422
- }
10423
10421
  return;
10424
10422
  }
10425
10423
  for (const o in s) {