diff --git a/source/funkin/mobile/input/PreciseInputHandler.hx b/source/funkin/mobile/input/PreciseInputHandler.hx index b4c243ce6..f240a2c94 100644 --- a/source/funkin/mobile/input/PreciseInputHandler.hx +++ b/source/funkin/mobile/input/PreciseInputHandler.hx @@ -31,7 +31,6 @@ class PreciseInputHandler static function handleHintDown(hint:FunkinHint):Void { final timestamp:Int64 = PreciseInputManager.getCurrentTimestamp(); - @:privateAccess if (hint.input?.justPressed ?? false) { @@ -48,7 +47,6 @@ class PreciseInputHandler static function handleHintUp(hint:FunkinHint):Void { final timestamp:Int64 = PreciseInputManager.getCurrentTimestamp(); - @:privateAccess if (hint.input?.justReleased ?? false) { diff --git a/source/funkin/play/song/Song.hx b/source/funkin/play/song/Song.hx index 8da7a18dd..ed7295abc 100644 --- a/source/funkin/play/song/Song.hx +++ b/source/funkin/play/song/Song.hx @@ -199,7 +199,6 @@ class Song implements IPlayStateScriptedClass implements IRegistryEntry = SongRegistry.instance.getScriptedEntryClassName(songId); - @:privateAccess if (songClassName != null) result = SongRegistry.instance.createScriptedEntry(songClassName); } diff --git a/source/funkin/ui/debug/charting/toolboxes/ChartEditorMetadataToolbox.hx b/source/funkin/ui/debug/charting/toolboxes/ChartEditorMetadataToolbox.hx index d7ac0e042..640c62491 100644 --- a/source/funkin/ui/debug/charting/toolboxes/ChartEditorMetadataToolbox.hx +++ b/source/funkin/ui/debug/charting/toolboxes/ChartEditorMetadataToolbox.hx @@ -118,7 +118,7 @@ class ChartEditorMetadataToolbox extends ChartEditorBaseToolbox if (valid) { - chartEditorState.currentSongNoteStyle = event.data.id; + chartEditorState.currentSongNoteStyle = event.data.id; } }; var startingValueNoteStyle = ChartEditorDropdowns.populateDropdownWithNoteStyles(inputNoteStyle, chartEditorState.currentSongMetadata.playData.noteStyle); diff --git a/source/funkin/ui/debug/latency/LatencyState.hx b/source/funkin/ui/debug/latency/LatencyState.hx index cb9ade241..be2bd0f46 100644 --- a/source/funkin/ui/debug/latency/LatencyState.hx +++ b/source/funkin/ui/debug/latency/LatencyState.hx @@ -412,7 +412,7 @@ class LatencyState extends MusicBeatSubState if (TouchUtil.overlapsComplex(visualOffsetRightArrow) && touchPressCheck) { cleanup(); - FlxG.switchState(() -> new funkin.ui.options.OptionsState()); + FlxG.switchState(() -> new funkin.ui.options.OptionsState()); localConductor.audioVisualOffset += 1 * multiply; } diff --git a/source/funkin/ui/debug/stageeditor/StageEditorState.hx b/source/funkin/ui/debug/stageeditor/StageEditorState.hx index b05ae1f15..266ff7a7c 100644 --- a/source/funkin/ui/debug/stageeditor/StageEditorState.hx +++ b/source/funkin/ui/debug/stageeditor/StageEditorState.hx @@ -1260,14 +1260,13 @@ class StageEditorState extends UIState if (exitConfirmDialog == null) { exitConfirmDialog = Dialogs.messageBox("You are about to leave the Editor without Saving.\n\nAre you sure? ", "Leave Editor", - MessageBoxType.TYPE_YESNO, true, - function(btn:DialogButton) { + MessageBoxType.TYPE_YESNO, true, function(btn:DialogButton) { exitConfirmDialog = null; - if (btn == DialogButton.YES) - { - saved = true; - onMenuItemClick("exit"); - } + if (btn == DialogButton.YES) + { + saved = true; + onMenuItemClick("exit"); + } }); } diff --git a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectAnimsToolbox.hx b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectAnimsToolbox.hx index 6cd0b4f4e..548feb444 100644 --- a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectAnimsToolbox.hx +++ b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectAnimsToolbox.hx @@ -114,7 +114,7 @@ class StageEditorObjectAnimsToolbox extends StageEditorDefaultToolbox objAnims.selectedIndex = objAnims.dataSource.size - 1; } - + this.onDialogClosed = onClose; } diff --git a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectPropertiesToolbox.hx b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectPropertiesToolbox.hx index 8c0ae8655..5dd3aceaa 100644 --- a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectPropertiesToolbox.hx +++ b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectPropertiesToolbox.hx @@ -121,7 +121,7 @@ class StageEditorObjectPropertiesToolbox extends StageEditorDefaultToolbox linkedObj.color = FlxColor.fromString(_.value) ?? 0xFFFFFFFF; } } - + this.onDialogClosed = onClose; } diff --git a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorStageToolbox.hx b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorStageToolbox.hx index c8077c667..0224e693a 100644 --- a/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorStageToolbox.hx +++ b/source/funkin/ui/debug/stageeditor/toolboxes/StageEditorStageToolbox.hx @@ -51,7 +51,7 @@ class StageEditorStageToolbox extends StageEditorDefaultToolbox } refresh(); - + this.onDialogClosed = onClose; } diff --git a/source/funkin/ui/freeplay/FreeplayStyle.hx b/source/funkin/ui/freeplay/FreeplayStyle.hx index f2fb8b7fa..037aaf056 100644 --- a/source/funkin/ui/freeplay/FreeplayStyle.hx +++ b/source/funkin/ui/freeplay/FreeplayStyle.hx @@ -21,7 +21,6 @@ class FreeplayStyle implements IRegistryEntry * The full data for a freeplay style. */ // public final _data:FreeplayStyleData; - public function new(id:String) { this.id = id;