diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:04:17 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:04:17 +1000 |
commit | 11e00a8dedd8f430f6528d2852169d134c17367a (patch) | |
tree | b8a8bb9fdf7e29f48777c0abebb3d7c8449d0a4c /source/frontend/StarMainInterface.cpp | |
parent | 8ee9c97f54b210f9bb74b6a3c4f32f91b1620f13 (diff) |
Change debug render time logging to use microseconds
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 83eb1b4..fb28e84 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -1263,7 +1263,7 @@ void MainInterface::renderDebug() { m_guiContext->setFont(m_config->debugFont); m_guiContext->setLineSpacing(0.5f); m_guiContext->setFontProcessingDirectives(m_config->debugFontDirectives); - m_guiContext->setFontColor(Color::Green.toRgba()); + m_guiContext->setFontColor(Color::White.toRgba()); m_guiContext->setFontMode(FontMode::Normal); bool clearMap = m_debugMapClearTimer.wrapTick(); @@ -1277,7 +1277,7 @@ void MainInterface::renderDebug() { int counter = 0; for (auto const& pair : logMapValues) { TextPositioning positioning = {Vec2F(m_config->debugOffset[0], windowHeight() - m_config->debugOffset[1] - m_config->fontSize * interfaceScale() * counter++)}; - String& text = formatted.emplace_back(strf("^white;{}^lightgray;:^reset; {}", pair.first, pair.second)); + String& text = formatted.emplace_back(strf("{}^lightgray;:^green,set; {}", pair.first, pair.second)); m_debugTextRect.combine(m_guiContext->determineTextSize(text, positioning).padded(m_config->debugBackgroundPad)); } |