mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-07-01 20:37:17 +02:00
ImGui: fix logger not fading in/out with alpha
m_fadeAlpha should also be applied on the color logger.
This commit is contained in:
@ -255,6 +255,7 @@ bool CConsole::DrawSurface(void)
|
||||
ImGuiWindowFlags_NoNavInputs |
|
||||
ImGuiWindowFlags_OverlayHorizontalScrollbar;
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_Alpha, m_fadeAlpha); numLoggerStyleVars++;
|
||||
ImGui::BeginChild(m_loggerLabel, ImVec2(0, -footerHeightReserve), loggerFlags, colorLoggerWindowFlags);
|
||||
|
||||
// NOTE: scoped so the mutex releases after we have rendered.
|
||||
|
Reference in New Issue
Block a user