mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 00:44:43 -05:00
Fixed loading screen log messages taking up real estate if set to false
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user