mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed an overlapping in the editor. Closes #794
This commit is contained in:
parent
b7605dd0b5
commit
fee2c2c452
|
@ -2056,7 +2056,7 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect ToolBar, CUIRect View)
|
||||||
|
|
||||||
static int s_GroupPopupId = 0;
|
static int s_GroupPopupId = 0;
|
||||||
if(Result == 2)
|
if(Result == 2)
|
||||||
UiInvokePopupMenu(&s_GroupPopupId, 0, UI()->MouseX(), UI()->MouseY(), 120, 220, PopupGroup);
|
UiInvokePopupMenu(&s_GroupPopupId, 0, UI()->MouseX(), UI()->MouseY(), 145, 220, PopupGroup);
|
||||||
|
|
||||||
if(m_Map.m_lGroups[g]->m_lLayers.size() && Input()->MouseDoubleClick())
|
if(m_Map.m_lGroups[g]->m_lLayers.size() && Input()->MouseDoubleClick())
|
||||||
m_Map.m_lGroups[g]->m_Collapse ^= 1;
|
m_Map.m_lGroups[g]->m_Collapse ^= 1;
|
||||||
|
|
Loading…
Reference in a new issue