Merge pull request #30793 from clark-stevenson/master

Minor Update to Pixi.js
This commit is contained in:
Mine Starks
2018-11-29 09:54:28 -08:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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);
}