Brian Fiete il y a 10 mois
Parent
commit
0880839252
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 1 0
      BeefTools/BeefCon/BeefSpace.toml
  2. 2 0
      IDE/src/util/ConsoleProvider.bf

+ 1 - 0
BeefTools/BeefCon/BeefSpace.toml

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

+ 2 - 0
IDE/src/util/ConsoleProvider.bf

@@ -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();