This commit is contained in:
lemz 2024-06-29 15:33:41 +02:00 committed by EliteMasterEric
parent 4746c1da0e
commit 1fe44fa368
2 changed files with 2 additions and 3 deletions
source/funkin
play/notes/notekind
ui/debug/charting/toolboxes

View file

@ -73,7 +73,7 @@ class NoteKind implements INoteScriptedClass
* Abstract for setting the type of the `NoteKindParam`
* This was supposed to be an enum but polymod kept being annoying
*/
abstract NoteKindParamType(String) to String
abstract NoteKindParamType(String) from String to String
{
public static final STRING:String = 'String';

View file

@ -186,8 +186,7 @@ class ChartEditorNoteDataToolbox extends ChartEditorBaseToolbox
var paramComponent:Component = null;
final paramType:String = param.type;
switch (paramType)
switch (param.type)
{
case NoteKindParamType.INT | NoteKindParamType.FLOAT:
var paramStepper:NumberStepper = new NumberStepper();