Fix InputText & Typo.

This commit is contained in:
Jean-Baptiste Perrier
2021-01-30 19:58:45 +01:00
parent f15f7ff59f
commit a5d6db6a18

View File

@@ -13,7 +13,7 @@ DECLARE_SCRIPTING_TYPE_NO_SPAWN(Keyboard);
public: public:
/// <summary> /// <summary>
/// The mouse state. /// The keyboard state.
/// </summary> /// </summary>
struct State struct State
{ {
@@ -157,6 +157,7 @@ public:
if (UpdateState()) if (UpdateState())
return true; return true;
_state.InputTextLength = 0;
// Handle events // Handle events
for (int32 i = 0; i < _queue.Count(); i++) for (int32 i = 0; i < _queue.Count(); i++)
{ {