mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Editor: Don't show server settings when picker is active
This commit is contained in:
parent
275adcba54
commit
7428dd0637
|
@ -5220,12 +5220,15 @@ void CEditor::Render()
|
|||
RenderMenubar(MenuBar);
|
||||
|
||||
RenderModebar(CModeBar);
|
||||
if(m_ShowEnvelopeEditor && !m_ShowPicker)
|
||||
RenderEnvelopeEditor(ExtraEditor);
|
||||
if(m_ShowUndo)
|
||||
RenderUndoList(UndoList);
|
||||
if(m_ShowServerSettingsEditor)
|
||||
RenderServerSettingsEditor(ExtraEditor);
|
||||
if(!m_ShowPicker)
|
||||
{
|
||||
if(m_ShowEnvelopeEditor)
|
||||
RenderEnvelopeEditor(ExtraEditor);
|
||||
if(m_ShowUndo)
|
||||
RenderUndoList(UndoList);
|
||||
if(m_ShowServerSettingsEditor)
|
||||
RenderServerSettingsEditor(ExtraEditor);
|
||||
}
|
||||
}
|
||||
|
||||
if(m_Dialog == DIALOG_FILE)
|
||||
|
|
Loading…
Reference in a new issue