mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Switch around the colors for used/unused envelopes
This commit is contained in:
parent
5348533858
commit
c601df8b28
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue