Fixed a bug when click KeypadEnter on BlockEditor
@ -303,7 +303,7 @@ namespace Fungus.EditorUtils
}
if (commandSelectedByTextInput != null &&
Event.current.keyCode == KeyCode.Return || Event.current.keyCode == KeyCode.KeypadEnter)
(Event.current.keyCode == KeyCode.Return || Event.current.keyCode == KeyCode.KeypadEnter))
{
AddCommandCallback(commandSelectedByTextInput);
commandSelectedByTextInput = null;
@ -1296,4 +1296,4 @@ namespace Fungus.EditorUtils
Repaint();