2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-17 03:26:02 +00:00

Fix show_overlay function

actually hide the overlay window
This commit is contained in:
Peter Repukat 2017-11-12 02:08:16 +01:00
parent 39761fe37d
commit 7cff788b87

View File

@ -146,7 +146,7 @@ void SteamTargetRenderer::RunSfWindowLoop()
SetWindowPos(sfWindow.getSystemHandle(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_ASYNCWINDOWPOS);
else
{
ShowWindow(consoleHwnd, SW_SHOW);
ShowWindow(sfWindow.getSystemHandle(), SW_HIDE);
sfWindow.setFramerateLimit(1); //Window is not shown anyway,
}