@aibee/crc-bmap 0.0.48 → 0.0.49

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
@@ -482,10 +482,16 @@ var Graphic = class extends Object3D {
482
482
  this.init();
483
483
  });
484
484
  this.addEventListener("change-strokeColor", ({ value }) => {
485
+ if (!this.options.stroke) {
486
+ return;
487
+ }
485
488
  this.initLineMaterial();
486
489
  this.createBorder();
487
490
  });
488
491
  this.addEventListener("change-strokeOpacity", ({ value }) => {
492
+ if (!this.options.stroke) {
493
+ return;
494
+ }
489
495
  this.initLineMaterial();
490
496
  this.createBorder();
491
497
  });