Skip to content

Commit

Permalink
redraw sprite before updateHitbox(). fixes #2413 (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored Sep 27, 2021
1 parent 0a56aa1 commit f39bc8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flixel/text/FlxBitmapText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@ class FlxBitmapText extends FlxSprite
super.drawFrame(Force);
}
}

override function updateHitbox()
{
checkPendingChanges(true);
super.updateHitbox();
}

inline function checkPendingChanges(useTiles:Bool = false):Void
{
Expand Down

0 comments on commit f39bc8f

Please sign in to comment.