Skip to content

Commit

Permalink
Update FlxText.hx (#2935)
Browse files Browse the repository at this point in the history
  • Loading branch information
nul4h9 authored Oct 10, 2023
1 parent 54a1a1f commit 5c218b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flixel/text/FlxText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1232,10 +1232,10 @@ enum abstract FlxTextAlign(String) from String
{
return switch (align)
{
case LEFT: TextFormatAlign.LEFT;
case CENTER: TextFormatAlign.CENTER;
case RIGHT: TextFormatAlign.RIGHT;
case JUSTIFY: TextFormatAlign.JUSTIFY;
case FlxTextAlign.LEFT: TextFormatAlign.LEFT;
case FlxTextAlign.CENTER: TextFormatAlign.CENTER;
case FlxTextAlign.RIGHT: TextFormatAlign.RIGHT;
case FlxTextAlign.JUSTIFY: TextFormatAlign.JUSTIFY;
default: TextFormatAlign.LEFT;
}
}
Expand Down

0 comments on commit 5c218b9

Please sign in to comment.