1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

BeefCon fix

This commit is contained in:
Brian Fiete 2024-09-09 13:28:10 -04:00
parent d9fd93ccbd
commit 0880839252
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@ Projects = {BeefCon = {Path = "."}, Beefy2D = "*"}
[Workspace]
StartupProject = "BeefCon"
PreprocessorMacros = ["BEEFCON"]
[Configs.Release.Win64]
BfOptimizationLevel = "OgPlus"

View file

@ -579,7 +579,9 @@ class WinNativeConsoleProvider : ConsoleProvider
if ((mHideNativeConsole) && (window != default))
{
Windows.SetWindowPos(window, default, 0, 0, 0, 0, 0x290 /* SWP_NOACTIVATE | SWP_NOREPOSITION | SWP_HIDEWINDOW */);
#if !BEEFCON
gApp.mMainWindow.SetForeground();
#endif
}
//ResizeComponents();