update AnimationSet

This commit is contained in:
pengfei.zhou
2020-04-15 10:31:22 +08:00
committed by osborn
parent c329cfcf53
commit 4c51a3c891
3 changed files with 2 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ export class RotationAnimation extends Animation {
export class AnimationSet implements IAnimation {
private animations: IAnimation[] = []
_duration = 0
private _duration = 0
delay?: number
addAnimation(anim: IAnimation) {
this.animations.push(anim)