Skip to content

Commit

Permalink
Fix Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JVNpixels committed Feb 21, 2025
1 parent 8c8585a commit fd4458c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion source/funkin/Preferences.hx
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ class Preferences
#end
}
}
}
}
8 changes: 4 additions & 4 deletions source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,10 @@ class PlayState extends MusicBeatSubState
*/
public var disableKeys:Bool = false;

/**
/**
* The previous difficulty the player was playing on.
*/
public var previousDifficulty:String = Constants.DEFAULT_DIFFICULTY;
public var previousDifficulty:String = Constants.DEFAULT_DIFFICULTY;

public var isSubState(get, never):Bool;

Expand Down Expand Up @@ -1458,8 +1458,8 @@ class PlayState extends MusicBeatSubState

if (!startingSong
&& (Math.abs(FlxG.sound.music.time - correctSync) > 100
|| Math.abs(playerVoicesError) > 100
|| Math.abs(opponentVoicesError) > 100))
|| Math.abs(playerVoicesError) > 100
|| Math.abs(opponentVoicesError) > 100))
{
trace("VOCALS NEED RESYNC");
if (vocals != null)
Expand Down
2 changes: 1 addition & 1 deletion source/funkin/save/Save.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ typedef SaveDataOptions =
* If enabled, the game will automatically launch in fullscreen on startup.
* @default `true`
*/
var autoFullscreen:Bool;
var autoFullscreen:Bool;

/**
* Offset the user's inputs by this many ms.
Expand Down
4 changes: 2 additions & 2 deletions source/funkin/ui/options/PreferencesMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ class PreferencesMenu extends Page
itemDescBox.alpha = 0.6;
itemDesc.setFormat(Paths.font('vcr.ttf'), 32, FlxColor.WHITE, FlxTextAlign.CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
itemDesc.borderSize = 3;

// Update the text.
itemDesc.text = preferenceDesc[items.selectedIndex];
itemDesc.screenCenter();
itemDesc.y += 270;

// Create the box around the text.
itemDescBox.setPosition(itemDesc.x - 10, itemDesc.y - 10);
itemDescBox.setGraphicSize(Std.int(itemDesc.width + 20), Std.int(itemDesc.height + 25));
Expand Down

0 comments on commit fd4458c

Please sign in to comment.