Format .hx files

Co-Authored-By: Eric <4635334+EliteMasterEric@users.noreply.github.com>
This commit is contained in:
Hundrec
2026-04-06 04:18:09 -06:00
co-authored by Eric
parent 71d7d929b4
commit 56dabfd5c9
267 changed files with 2748 additions and 2045 deletions
@@ -11,8 +11,7 @@ import flixel.util.FlxSpriteUtil;
/**
* Handles the note scrollbar preview in the chart editor.
*/
@:nullSafety
@:access(funkin.ui.debug.charting.ChartEditorState)
@:nullSafety @:access(funkin.ui.debug.charting.ChartEditorState)
class ChartEditorNotePreview extends FlxSprite
{
//
@@ -21,7 +20,6 @@ class ChartEditorNotePreview extends FlxSprite
static final NOTE_WIDTH:Int = 5;
static final WIDTH:Int = NOTE_WIDTH * 9;
static final NOTE_HEIGHT:Int = 1;
static final BG_COLOR:FlxColor = 0xFF606060;
static final LEFT_COLOR:FlxColor = 0xFFFF22AA;
static final DOWN_COLOR:FlxColor = 0xFF00EEFF;
@@ -156,11 +154,16 @@ class ChartEditorNotePreview extends FlxSprite
{
var color:FlxColor = switch (dir)
{
case 0: LEFT_COLOR;
case 1: DOWN_COLOR;
case 2: UP_COLOR;
case 3: RIGHT_COLOR;
default: EVENT_COLOR;
case 0:
LEFT_COLOR;
case 1:
DOWN_COLOR;
case 2:
UP_COLOR;
case 3:
RIGHT_COLOR;
default:
EVENT_COLOR;
};
var noteHeight:Int = NOTE_HEIGHT;