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:
parent
39761fe37d
commit
7cff788b87
@ -146,7 +146,7 @@ void SteamTargetRenderer::RunSfWindowLoop()
|
|||||||
SetWindowPos(sfWindow.getSystemHandle(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_ASYNCWINDOWPOS);
|
SetWindowPos(sfWindow.getSystemHandle(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_ASYNCWINDOWPOS);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ShowWindow(consoleHwnd, SW_SHOW);
|
ShowWindow(sfWindow.getSystemHandle(), SW_HIDE);
|
||||||
sfWindow.setFramerateLimit(1); //Window is not shown anyway,
|
sfWindow.setFramerateLimit(1); //Window is not shown anyway,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user