Fixed loading screen log messages taking up real estate if set to false

This commit is contained in:
Andreas Engberg
2023-12-20 10:02:54 +01:00
parent af5ebd7731
commit 6281da6798
2 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -217,7 +217,8 @@ VersionCheckUrl = "http://data.openspaceproject.com/latest-version"
UseMultithreadedInitialization = true
LoadingScreen = {
ShowMessage = true,
ShowNodeNames = true
ShowNodeNames = true,
ShowLogMessages = true
}
CheckOpenGLState = false
LogEachOpenGLCall = false
+3 -4
View File
@@ -317,10 +317,9 @@ void LoadingScreen::render() {
rectOverlaps(messageLl, messageUr, ll, ur) :
false;
const bool logOverlap = rectOverlaps(
logLl, logUr,
ll, ur
);
const bool logOverlap = _showLog ?
rectOverlaps(logLl, logUr,ll, ur) :
false;
if (logoOverlap || loadingOverlap || messageOverlap || logOverlap) {
// We never want to have an overlap with these, so this try didn't