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; get toRotation(): number;
} }
export class AnimationSet implements IAnimation { export class AnimationSet implements IAnimation {
_duration: number;
delay?: number; delay?: number;
addAnimation(anim: IAnimation): void; addAnimation(anim: IAnimation): void;
get duration(): number; get duration(): number;

View File

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

View File

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