diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index c178207..1b913f7 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -182,6 +182,9 @@ this.width = frame.width; this.height = frame.height; this.crop = frame; + } else { + this.width = trim.width; + this.height = trim.height; } if (this.valid)