mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
Merge pull request #17099 from clark-stevenson/master
Pixi.js v4.5 Update
This commit is contained in:
764
types/pixi.js/index.d.ts
vendored
764
types/pixi.js/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@ function basics() {
|
||||
private renderer: PIXI.WebGLRenderer;
|
||||
constructor() {
|
||||
// Renderer should allow options from both WebGLRenderer and underlying SystemRenderer
|
||||
this.renderer = new PIXI.WebGLRenderer(0, 0, { backgroundColor : 0x272d37, forceFXAA: true });
|
||||
this.renderer = new PIXI.WebGLRenderer(0, 0, { backgroundColor: 0x272d37, forceFXAA: true });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1507,7 +1507,8 @@ function filters() {
|
||||
maggot.position.y = Math.random() * bounds.height;
|
||||
|
||||
maggot.scale.set(1 + Math.random() * 0.3);
|
||||
maggot.original = maggot.scale.clone();
|
||||
//tslint:disable-next-line:whitespace
|
||||
maggot.original = (<PIXI.Point>maggot.scale).clone();
|
||||
this.maggots.push(maggot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user