From 97f7fa33d18ed2b36dabf61614b5667278a8befd Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Mon, 30 Dec 2024 23:05:26 -0800 Subject: [PATCH] fix: Properly parse Int/Floats in the debugger watch on HTML5 --- flixel/system/debug/watch/EditableTextField.hx | 2 -- 1 file changed, 2 deletions(-) diff --git a/flixel/system/debug/watch/EditableTextField.hx b/flixel/system/debug/watch/EditableTextField.hx index 015973ef1e..7474bb1ff2 100644 --- a/flixel/system/debug/watch/EditableTextField.hx +++ b/flixel/system/debug/watch/EditableTextField.hx @@ -142,10 +142,8 @@ class EditableTextField extends TextField implements IFlxDestroyable { var value:Dynamic = switch (expectedType) { - #if neko case TInt: Std.parseInt(text); case TFloat: Std.parseFloat(text); - #end case TBool if (text == "true"): true; case TBool if (text == "false"): false; case TEnum(e):