mirror of
https://github.com/wassname/phaser.git
synced 2026-07-24 13:10:53 +08:00
Fix box dimensions in PIXI.BitmapText. Support anchor in Phaser.BitmapText
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user