chore: Run Haxe Formatter on the source code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -199,7 +199,6 @@ class Song implements IPlayStateScriptedClass implements IRegistryEntry<SongMeta
|
||||
if (includeScript && SongRegistry.instance.isScriptedEntry(songId))
|
||||
{
|
||||
var songClassName:Null<String> = SongRegistry.instance.getScriptedEntryClassName(songId);
|
||||
|
||||
@:privateAccess
|
||||
if (songClassName != null) result = SongRegistry.instance.createScriptedEntry(songClassName);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ class StageEditorObjectAnimsToolbox extends StageEditorDefaultToolbox
|
||||
|
||||
objAnims.selectedIndex = objAnims.dataSource.size - 1;
|
||||
}
|
||||
|
||||
|
||||
this.onDialogClosed = onClose;
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ class StageEditorObjectPropertiesToolbox extends StageEditorDefaultToolbox
|
||||
linkedObj.color = FlxColor.fromString(_.value) ?? 0xFFFFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.onDialogClosed = onClose;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class StageEditorStageToolbox extends StageEditorDefaultToolbox
|
||||
}
|
||||
|
||||
refresh();
|
||||
|
||||
|
||||
this.onDialogClosed = onClose;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ class FreeplayStyle implements IRegistryEntry<FreeplayStyleData>
|
||||
* The full data for a freeplay style.
|
||||
*/
|
||||
// public final _data:FreeplayStyleData;
|
||||
|
||||
public function new(id:String)
|
||||
{
|
||||
this.id = id;
|
||||
|
||||
Reference in New Issue
Block a user