change menu log location and type

This commit is contained in:
cdozdil
2024-12-19 23:36:04 +03:00
parent 028482d765
commit 5c8ceebcb3
+2 -2
View File
@@ -341,6 +341,8 @@ LRESULT ImGuiCommon::WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
_isVisible = !_isVisible;
LOG_DEBUG("Menu key pressed, {0}", _isVisible ? "opening ImGui" : "closing ImGui");
if (_isVisible)
{
Config::Instance()->ReloadFakenvapi();
@@ -367,8 +369,6 @@ LRESULT ImGuiCommon::WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
io.WantCaptureKeyboard = _isVisible;
io.WantCaptureMouse = _isVisible;
LOG_TRACE("Menu key pressed, {0}", _isVisible ? "opening ImGui" : "closing ImGui");
return TRUE;
}