Skip to content

Commit

Permalink
temp fix for shadow_xy branch (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored Aug 19, 2024
1 parent 596bc33 commit 27f1ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flixel/addons/ui/FlxInputText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,8 @@ class FlxInputText extends FlxText
caret.pixels.fillRect(r, caretC); // draw caret
// we need to offset caret's drawing position since the caret is now larger than normal
caret.offset.x = caret.offset.y = borderSize;

case _: //temp fix for 5.9.0
}
// Update width/height so caret's dimensions match its pixels
caret.width = cw;
Expand Down

0 comments on commit 27f1ba6

Please sign in to comment.