mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed custom color menu overlaps other menu
This commit is contained in:
parent
1072cc5509
commit
4961d9dfa8
|
@ -1047,7 +1047,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView)
|
|||
}
|
||||
}
|
||||
|
||||
if(m_TeePartsColorSelection == NO_SELECTION)
|
||||
if(m_TeePartsColorSelection == NO_SELECTION || m_TeePartSelection != NO_SELECTION)
|
||||
return;
|
||||
|
||||
bool None = true;
|
||||
|
@ -1092,8 +1092,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView)
|
|||
{
|
||||
Picker.HSplitTop(10.0f, 0, &Picker);
|
||||
Picker.VSplitLeft(20.0f, 0, &Picker);
|
||||
if(m_TeePartsColorSelection != NO_SELECTION)
|
||||
RenderHSLPicker(Picker);
|
||||
RenderHSLPicker(Picker);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue