update AnimationSet
This commit is contained in:
parent
c329cfcf53
commit
4c51a3c891
1
doric-js/index.d.ts
vendored
1
doric-js/index.d.ts
vendored
@ -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;
|
||||||
|
2
doric-js/lib/src/ui/animation.d.ts
vendored
2
doric-js/lib/src/ui/animation.d.ts
vendored
@ -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;
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user