Format .hx files
Co-Authored-By: Eric <4635334+EliteMasterEric@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user