Merge pull request #253 from jcd-as/dev

fix Pixi bug (#425) - fix incorrect width property for multi-line Bitmap...
This commit is contained in:
Richard Davey
2013-12-09 02:01:24 -08:00
+1 -1
View File
@@ -135,7 +135,7 @@ PIXI.BitmapText.prototype.updateText = function()
this.addChild(c);
}
this.width = pos.x * scale;
this.width = maxLineWidth * scale;
this.height = (pos.y + data.lineHeight) * scale;
};