1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

More cases for KeyCode.Parse

This commit is contained in:
Brian Fiete 2025-03-31 16:48:40 -04:00
parent 40c4f202e0
commit 96f8b1426d

View file

@ -160,6 +160,14 @@ namespace Beefy.widgets
return (KeyCode)Period;
if (c == ',')
return (KeyCode)Comma;
if (c == ' ')
return (KeyCode)Space;
if (c == '-')
return (KeyCode)Minus;
if (c == '+')
return (KeyCode)Add;
if (c == '=')
return (KeyCode)Equals;
}
if (str.StartsWith("0x"))