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

1
doric-js/index.d.ts vendored
View File

@ -422,7 +422,6 @@ declare module 'doric/lib/src/ui/animation' {
get toRotation(): number;
}
export class AnimationSet implements IAnimation {
_duration: number;
delay?: number;
addAnimation(anim: IAnimation): void;
get duration(): number;

View File

@ -114,7 +114,7 @@ export declare class RotationAnimation extends Animation {
}
export declare class AnimationSet implements IAnimation {
private animations;
_duration: number;
private _duration;
delay?: number;
addAnimation(anim: IAnimation): void;
get duration(): number;

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)