From c601df8b2803d4d85f0296601d74ceb1447fbade Mon Sep 17 00:00:00 2001 From: Learath2 Date: Fri, 16 Nov 2018 14:51:12 +0100 Subject: [PATCH] Switch around the colors for used/unused envelopes --- src/game/editor/editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 800a6b252..9b1518f72 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -4744,8 +4744,8 @@ void CEditor::RenderEnvelopeEditor(CUIRect View) if(m_Map.m_lEnvelopes.size()) { EnvColor = IsEnvelopeUsed(m_SelectedEnvelope) ? - vec4(0.7f, 1, 0.7f, 0.5f) : - vec4(1, 0.7f, 0.7f, 0.5f); + vec4(1, 0.7f, 0.7f, 0.5f) : + vec4(0.7f, 1, 0.7f, 0.5f); } RenderTools()->DrawUIRect(&Shifter, EnvColor, 0, 0.0f);