We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c62d9b5 commit 3b646d6Copy full SHA for 3b646d6
packages/vchart/src/mark/base/base-mark.ts
@@ -1554,6 +1554,7 @@ export class BaseMark<T extends ICommonSpec> extends GrammarItem implements IMar
1554
const attrsByGroup = noGroupEncode ? null : this._runGroupEncoder(this._encoderOfState?.group);
1555
graphics.forEach((g, index) => {
1556
let attrs = this._runEncoderOfGraphic(this._encoderOfState?.update, g);
1557
+ // 此时需要将最终的正确的样式设置给graphic,这样后续的动画目标属性才会正确,否则会动画样式只有默认状态的样式
1558
g.currentStates?.forEach((_state: string) => {
1559
const stateAttr = this._runGroupEncoder(this._encoderOfState?.[_state])?.[g.context.groupKey];
1560
attrs = {
0 commit comments