Fix min and max values for events
min and max aren't supposed to be integers silly!!! well i mean it's fine but what if you want precise floats!!!!
This commit is contained in:
@@ -65,7 +65,7 @@ class EventsData {
|
||||
var hscriptInterp:Interp = new Interp();
|
||||
hscriptInterp.variables.set("Bool", TBool);
|
||||
hscriptInterp.variables.set("Int", function (?min:Int, ?max:Int, ?step:Float):EventParamType {return TInt(min, max, step);});
|
||||
hscriptInterp.variables.set("Float", function (?min:Int, ?max:Int, ?step:Float, ?precision:Int):EventParamType {return TFloat(min, max, step, precision);});
|
||||
hscriptInterp.variables.set("Float", function (?min:Float, ?max:Float, ?step:Float, ?precision:Int):EventParamType {return TFloat(min, max, step, precision);});
|
||||
hscriptInterp.variables.set("String", TString);
|
||||
hscriptInterp.variables.set("StrumLine", TStrumLine);
|
||||
hscriptInterp.variables.set("ColorWheel", TColorWheel);
|
||||
@@ -127,4 +127,4 @@ enum EventParamType {
|
||||
TStrumLine;
|
||||
TColorWheel;
|
||||
TDropDown(?options:Array<String>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user