Skip to content

Commit 4e857f1

Browse files
committed
BitmapText with tints applied wouldn't update properly in Canvas mode (thanks @Pajamaman phaserjs#1969)
1 parent 1102299 commit 4e857f1

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ If you are an exceptional JavaScript developer and would like to join the Phaser
269269
* ArrayUtils.numberArrayStep would return an empty array if a single parameter was given, instead of a single step array (thanks @pooya72 #1958)
270270
* Text with tints applied wouldn't update properly in Canvas mode.
271271
* Removed use of the deprecated `enterFullScreen` and `leaveFullScreen` signals from the Scale Manager (thanks @mmanlod #1972)
272+
* BitmapText with tints applied wouldn't update properly in Canvas mode (thanks @Pajamaman #1969)
273+
272274

273275
For changes in previous releases please see the extensive [Version History](https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md).
274276

src/gameobjects/BitmapText.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ Phaser.BitmapText.prototype.updateText = function () {
389389

390390
g.scale.set(scale);
391391
g.tint = this.tint;
392+
g.texture.requiresReTint = true;
392393

393394
if (!g.parent)
394395
{

0 commit comments

Comments
 (0)