Fix space key being ignored

This commit is contained in:
falkTX 2021-12-08 20:27:54 +00:00
parent 397ca366c3
commit 3b314c119b
2 changed files with 3 additions and 3 deletions

View file

@ -514,7 +514,7 @@ protected:
bool onCharacterInput(const CharacterInputEvent& ev) override
{
if (ev.character <= ' ' || ev.character >= kKeyDelete)
if (ev.character < ' ' || ev.character >= kKeyDelete)
return false;
const int mods = glfwMods(ev.mod);