diff --git a/source/funkin/Preferences.hx b/source/funkin/Preferences.hx index 7a126168fb..2bf478ce17 100644 --- a/source/funkin/Preferences.hx +++ b/source/funkin/Preferences.hx @@ -280,4 +280,4 @@ class Preferences #end } } -} \ No newline at end of file +} diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 2a5b75a667..6fe1140835 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -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; @@ -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) diff --git a/source/funkin/save/Save.hx b/source/funkin/save/Save.hx index f38f93a272..1e14017a89 100644 --- a/source/funkin/save/Save.hx +++ b/source/funkin/save/Save.hx @@ -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. diff --git a/source/funkin/ui/options/PreferencesMenu.hx b/source/funkin/ui/options/PreferencesMenu.hx index 4b6d9fdbc5..71435fd117 100644 --- a/source/funkin/ui/options/PreferencesMenu.hx +++ b/source/funkin/ui/options/PreferencesMenu.hx @@ -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));