Fix DummyUI enterNumber()

This commit is contained in:
2023-01-19 11:48:44 -07:00
parent 7b98c67137
commit 98b6bb59d8

View File

@@ -17,7 +17,7 @@ class DummyUI implements ArchiveUI {
resolve("");
}
public function enterNumber(prompt:String, resolve:(Float) -> Void, min:Float, max:Float, ?inStepsOf:Float) {
public function enterNumber(prompt:String, resolve:(Float) -> Void, min:Float, max:Float, ?inStepsOf:Float, ?allowNaN:Bool) {
// TODO for proper testing, this will need to resolve with specific pre-coded numbers
resolve(min);
}