Allow ImGui to process events if the overlay is hidden
This is used for the notifications when overlay is off.merge-requests/28/head
parent
ce79df1c26
commit
cf3dea2bbe
|
@ -133,9 +133,9 @@ LRESULT CALLBACK Windows_Hook::HookWndProc(HWND hWnd, UINT uMsg, WPARAM wParam,
|
|||
}
|
||||
}
|
||||
|
||||
ImGui_ImplWin32_WndProcHandler(hWnd, uMsg, wParam, lParam);
|
||||
if (show)
|
||||
{
|
||||
ImGui_ImplWin32_WndProcHandler(hWnd, uMsg, wParam, lParam);
|
||||
if (IgnoreMsg(uMsg))
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue