Fix DummyUI enterNumber()

This commit is contained in:
2023-01-19 11:48:44 -07:00
parent d508727aaa
commit 73c6d41c57

View File

@@ -17,7 +17,7 @@ class DummyUI implements ArchiveUI {
resolve(""); 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 // TODO for proper testing, this will need to resolve with specific pre-coded numbers
resolve(min); resolve(min);
} }