mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-25 22:29:42 -04:00
add from
This commit is contained in:
parent
4746c1da0e
commit
1fe44fa368
2 changed files with 2 additions and 3 deletions
source/funkin
|
@ -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';
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue