mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-28 00:56:48 +00:00
change menu log location and type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user