mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-11 06:43:56 +00:00
[client] app: update imgui key release when guest input is disabled
This commit is contained in:
parent
a098bab114
commit
7eb00bd24c
1 changed files with 3 additions and 3 deletions
|
@ -345,15 +345,15 @@ void app_handleKeyRelease(int sc)
|
|||
g_state.escapeActive = false;
|
||||
}
|
||||
|
||||
if (!core_inputEnabled())
|
||||
return;
|
||||
|
||||
if (g_state.overlayInput)
|
||||
{
|
||||
g_state.io->KeysDown[sc] = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!core_inputEnabled())
|
||||
return;
|
||||
|
||||
// avoid sending key up events when we didn't send a down
|
||||
if (!g_state.keyDown[sc])
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue