Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Nov 27, 2024
1 parent 20c7150 commit 6ebea25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions source/backend/ToastCore.hx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class Toast extends Sprite {

title = new TextField();
title.text = titleText;
title.setTextFormat(new TextFormat(Paths.font("vcr.ttf"), 24, titleColor, true));
title.setTextFormat(new TextFormat(Paths.font("main.ttf"), 24, titleColor, true));
title.wordWrap = true;
title.width = 360;
title.y = 5;
Expand All @@ -163,7 +163,7 @@ class Toast extends Sprite {

desc = new TextField();
desc.text = description;
desc.setTextFormat(new TextFormat(Paths.font("vcr.ttf"), 18, 0xFFFFFF));
desc.setTextFormat(new TextFormat(Paths.font("main.ttf"), 18, 0xFFFFFF));
desc.wordWrap = true;
desc.width = 360;
desc.height = 95;
Expand Down
4 changes: 2 additions & 2 deletions source/options/OptionsState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class OptionsState extends ExtendableState {
opGrp.add(text);
}

var resetControlsTxt:FlxText = new FlxText(5, FlxG.height - 24, 0, Localization.get("ctrlResetGuide"), 12);
resetControlsTxt.setFormat(Paths.font('main.ttf'), 18, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
var resetControlsTxt:FlxText = new FlxText(5, FlxG.height - 30, 0, Localization.get("ctrlResetGuide"), 12);
resetControlsTxt.setFormat(Paths.font('main.ttf'), 26, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
resetControlsTxt.scrollFactor.set();
add(resetControlsTxt);

Expand Down
4 changes: 2 additions & 2 deletions source/states/MenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ class MenuState extends ExtendableState {
grpSelection.add(menuItem);
}

final versii:FlxText = new FlxText(5, FlxG.height - 24, 0, 'Rhythmo v${Lib.application.meta.get('version')}'
final versii:FlxText = new FlxText(5, FlxG.height - 30, 0, 'Rhythmo v${Lib.application.meta.get('version')}'
#if debug + ' (${MacrosUtil.getCommitId()})' #end, 12);
versii.setFormat(Paths.font('main.ttf'), 18, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
versii.setFormat(Paths.font('main.ttf'), 26, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
versii.scrollFactor.set();
add(versii);

Expand Down

0 comments on commit 6ebea25

Please sign in to comment.