@visactor/vchart 2.0.20-alpha.0 → 2.0.20-alpha.1

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/build/index.es.js CHANGED
@@ -58714,7 +58714,11 @@ class BaseMark extends GrammarItem {
58714
58714
  return;
58715
58715
  }
58716
58716
  this._product = mark.getProduct();
58717
+ this._product.clearStates();
58717
58718
  this._graphics = mark.getGraphics();
58719
+ this._graphics.forEach(g => {
58720
+ g.clearStates();
58721
+ });
58718
58722
  this._graphicMap = mark._graphicMap;
58719
58723
  this._graphicMap.forEach(g => {
58720
58724
  g.context = Object.assign(Object.assign({}, g.context), this._getCommonContext());
@@ -59427,6 +59431,9 @@ class BaseMark extends GrammarItem {
59427
59431
  this.state.clearAllStateInfo();
59428
59432
  this.uncommit();
59429
59433
  this.stateStyle = {};
59434
+ this.getGraphics().forEach(g => {
59435
+ g.clearStates();
59436
+ });
59430
59437
  }
59431
59438
  }
59432
59439
 
package/build/index.js CHANGED
@@ -58720,7 +58720,11 @@
58720
58720
  return;
58721
58721
  }
58722
58722
  this._product = mark.getProduct();
58723
+ this._product.clearStates();
58723
58724
  this._graphics = mark.getGraphics();
58725
+ this._graphics.forEach(g => {
58726
+ g.clearStates();
58727
+ });
58724
58728
  this._graphicMap = mark._graphicMap;
58725
58729
  this._graphicMap.forEach(g => {
58726
58730
  g.context = Object.assign(Object.assign({}, g.context), this._getCommonContext());
@@ -59433,6 +59437,9 @@
59433
59437
  this.state.clearAllStateInfo();
59434
59438
  this.uncommit();
59435
59439
  this.stateStyle = {};
59440
+ this.getGraphics().forEach(g => {
59441
+ g.clearStates();
59442
+ });
59436
59443
  }
59437
59444
  }
59438
59445