From 0a63ba746d8f7dc08a8652ee81c8c73af3d1e247 Mon Sep 17 00:00:00 2001 From: Null <91737894+null4ik-2j6k@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:25:37 +0700 Subject: [PATCH] Update FlxText.hx --- flixel/text/FlxText.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flixel/text/FlxText.hx b/flixel/text/FlxText.hx index 53d9de06d0..c9253c54ff 100644 --- a/flixel/text/FlxText.hx +++ b/flixel/text/FlxText.hx @@ -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; } }