diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 9a74c38..5b49553 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -432,7 +432,7 @@ texture.trim.x = -style.padding; texture.trim.y = -style.padding; - texture.orig.width = texture._frame.width; + texture.orig.width = texture._frame.width- style.padding*2; texture.orig.height = texture._frame.height - style.padding*2; //call sprite onTextureUpdate to update scale if _width or _height were set