Skip to content

Commit

Permalink
fix: Properly parse Int/Floats in the debugger watch on HTML5
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Dec 31, 2024
1 parent 21cb868 commit 97f7fa3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flixel/system/debug/watch/EditableTextField.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 97f7fa3

Please sign in to comment.