Skip to content

Commit d5ef789

Browse files
committed
fix: appear animation not work
1 parent 3d4d682 commit d5ef789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vchart-extension/src/charts/ranking-list/ranking-list-transformer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ export class RankingListChartSpecTransformer extends CommonChartSpecTransformer
146146
};
147147

148148
spec.animationExit = this.getAnimationExit(this.originalSpec);
149-
spec.animationAppear = this.getAnimationAppear(this.originalSpec, 'rect');
150149
spec.animationEnter = this.getAnimationEnter(this.originalSpec);
151150
spec.animationUpdate = this.getAnimationUpdate(this.originalSpec);
152-
spec.animationNormal = this.originalSpec.animationNormal;
153151
}
152+
spec.animationNormal = this.originalSpec.animationNormal;
153+
spec.animationAppear = this.getAnimationAppear(this.originalSpec, 'rect');
154154
}
155155

156156
transformAxesSpec(spec: any) {

0 commit comments

Comments
 (0)