mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #30793 from clark-stevenson/master
Minor Update to Pixi.js
This commit is contained in:
Vendored
+3
-2
@@ -1585,7 +1585,7 @@ declare namespace PIXI {
|
||||
constructor(
|
||||
vertexSrc?: string,
|
||||
fragmentSrc?: string,
|
||||
uniforms?: UniformDataMap<U>
|
||||
uniformData?: UniformDataMap<U>
|
||||
);
|
||||
|
||||
protected _blendMode: number;
|
||||
@@ -2312,7 +2312,7 @@ declare namespace PIXI {
|
||||
);
|
||||
|
||||
baseTexture: BaseTexture;
|
||||
animations: { [key: string]: Texture };
|
||||
animations: { [key: string]: Texture[] };
|
||||
textures: { [key: string]: Texture };
|
||||
data: any;
|
||||
resolution: number;
|
||||
@@ -3346,6 +3346,7 @@ declare namespace PIXI {
|
||||
spineAtlas: any;
|
||||
spineData: any;
|
||||
textures?: TextureDictionary;
|
||||
spritesheet?: Spritesheet;
|
||||
}
|
||||
const shared: Loader;
|
||||
}
|
||||
|
||||
@@ -1508,7 +1508,7 @@ function filters() {
|
||||
|
||||
maggot.scale.set(1 + Math.random() * 0.3);
|
||||
//tslint:disable-next-line:whitespace
|
||||
maggot.original = (<PIXI.Point>maggot.scale).clone();
|
||||
maggot.original = (maggot.scale as PIXI.Point).clone();
|
||||
this.maggots.push(maggot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user