Skip to content

Commit 30cf226

Browse files
committed
Rebuild on offset change.
1 parent 099b7c1 commit 30cf226

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gameobjects/RetroFont.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ Phaser.RetroFont.prototype.updateOffset = function (x, y) {
546546
PIXI.TextureCache[frames[i].uuid].frame.y = frames[i].y;
547547
}
548548

549+
this.buildRetroFontText();
550+
549551
};
550552

551553
/**

0 commit comments

Comments
 (0)