Switch around the colors for used/unused envelopes

This commit is contained in:
Learath2 2018-11-16 14:51:12 +01:00
parent 5348533858
commit c601df8b28

View file

@ -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);