Skip to content

Commit

Permalink
center freeplay info
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Sep 10, 2024
1 parent 31150ba commit e719cd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/states/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ class FreeplayState extends MusicBeatState {
#end

var text:FlxText = new FlxText(textBG.x - 1, textBG.y + 4, FlxG.width, leText, 18);
text.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT);
text.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, CENTER);
text.scrollFactor.set();
text.screenCenter(X);
add(text);

super.create();
Expand Down

0 comments on commit e719cd7

Please sign in to comment.