@aibee/crc-bmap 0.0.27 → 0.0.28

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/lib/bmap.esm.js CHANGED
@@ -1609,6 +1609,12 @@ var BoxSelection = class extends BaseSvg {
1609
1609
  setEnable(enable) {
1610
1610
  super.setEnable(enable);
1611
1611
  setRectPosition(this.rect, 0, 0, 0, 0);
1612
+ if (enable) {
1613
+ this.registryEvent();
1614
+ } else {
1615
+ this.startPoint = void 0;
1616
+ this.unRegistryEvent();
1617
+ }
1612
1618
  }
1613
1619
  registryEvent() {
1614
1620
  this.context.container.addEventListener("pointerdown", this.onPointerDown);