Skip to content

Commit

Permalink
Merge branch 'tweaks/flxtext-bitmap-key' into dev-funkin
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric committed Jun 12, 2024
2 parents 2b63379 + 58dcc72 commit f89b89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/text/FlxText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ class FlxText extends FlxSprite
if (oldWidth != newWidth || oldHeight != newHeight)
{
// Need to generate a new buffer to store the text graphic
var key:String = FlxG.bitmap.getUniqueKey("text");
var key:String = FlxG.bitmap.getUniqueKey('text(${this.text})');
makeGraphic(newWidth, newHeight, FlxColor.TRANSPARENT, false, key);

if (_hasBorderAlpha)
Expand Down

0 comments on commit f89b89a

Please sign in to comment.