From a330802d37042160aea71353ec223600310d0eef Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 20 Jun 2023 22:41:36 +1000 Subject: [PATCH] fix chat text being 50% transparent for no good reason y'all lived like this?? --- source/frontend/StarChat.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/frontend/StarChat.cpp b/source/frontend/StarChat.cpp index c4bd98e..b444ce4 100644 --- a/source/frontend/StarChat.cpp +++ b/source/frontend/StarChat.cpp @@ -268,9 +268,7 @@ void Chat::renderImpl() { TextPositioning tp = {Vec2F(chatMin), HorizontalAnchor::LeftAnchor, VerticalAnchor::BottomAnchor, wrapWidth}; messageHeight = guiContext.determineInterfaceTextSize(messageString, tp).size()[1] + lineHeightMargin; - auto fadeColor = fade; - fadeColor[3] /= 2; - m_chatLog->drawText(messageString, tp, m_fontSize, fadeColor, FontMode::Normal, m_chatLineHeight); + m_chatLog->drawText(messageString, tp, m_fontSize, fade, FontMode::Normal, m_chatLineHeight); } chatMin[1] += ceil(messageHeight);