mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Refactor CEditor::PopupSound
This commit is contained in:
parent
7289f7d504
commit
91ce99b65b
|
@ -4565,9 +4565,11 @@ void CEditor::RenderSounds(CUIRect ToolBox)
|
|||
{
|
||||
m_SelectedSound = i;
|
||||
|
||||
static int s_PopupSoundID = 0;
|
||||
if(Result == 2)
|
||||
UiInvokePopupMenu(&s_PopupSoundID, 0, UI()->MouseX(), UI()->MouseY(), 120, 56, PopupSound);
|
||||
{
|
||||
static int s_PopupSoundId;
|
||||
UiInvokePopupMenu(&s_PopupSoundId, 0, UI()->MouseX(), UI()->MouseY(), 120, 56, PopupSound);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue