mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
fixed body scaling of chuck animation frames from 130% back to 100%
This commit is contained in:
parent
8730324a83
commit
bdd62a4a11
256 changed files with 7 additions and 5 deletions
|
|
@ -22,6 +22,8 @@ function (Parent, DomController, PIXI, Settings, Nc) {
|
|||
this.loader = null;
|
||||
this.init();
|
||||
this.pixi = PIXI;
|
||||
|
||||
PIXI.BaseTexture.SCALE_MODE.DEFAULT = PIXI.BaseTexture.SCALE_MODE.NEAREST;
|
||||
}
|
||||
|
||||
PixiView.prototype = Object.create(Parent.prototype);
|
||||
|
|
@ -66,7 +68,7 @@ function (Parent, DomController, PIXI, Settings, Nc) {
|
|||
|
||||
PixiView.prototype.createMesh = function (texturePath, callback, options) {
|
||||
|
||||
var texture = PIXI.Texture.fromImage(texturePath, false, PIXI.BaseTexture.SCALE_MODE.NEAREST);
|
||||
var texture = PIXI.Texture.fromImage(texturePath);
|
||||
|
||||
var mesh = new PIXI.Sprite(texture);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue