mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] core: remove state tracking in core_updateOverlayState
The state is never updated when a message box is dismissed, so the cursor is never displayed when a second message box shows up. The only other caller, app_setOverlay, has state tracking already.
This commit is contained in:
parent
6c76d6ada5
commit
f28084e653
1 changed files with 0 additions and 6 deletions
|
@ -654,12 +654,6 @@ void core_resetOverlayInputState(void)
|
|||
|
||||
void core_updateOverlayState(void)
|
||||
{
|
||||
static bool lastState = false;
|
||||
bool currentState = app_isOverlayMode();
|
||||
if (lastState == currentState)
|
||||
return;
|
||||
|
||||
lastState = currentState;
|
||||
g_state.cursorLast = -2;
|
||||
|
||||
static bool wasGrabbed = false;
|
||||
|
|
Loading…
Reference in a new issue