Add option to open window at game start instead of coupling it with debug mode.

This commit is contained in:
Ottermandias 2023-11-11 21:09:17 +01:00
parent 1891957670
commit 108cfbd828
3 changed files with 4 additions and 2 deletions

View file

@ -76,7 +76,7 @@ public class MainWindow : Window, IDisposable
debugTab,
};
_event.Subscribe(OnTabSelected, TabSelected.Priority.MainWindow);
IsOpen = _config.DebugMode;
IsOpen = _config.OpenWindowAtStart;
}
public override void PreDraw()