mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Remove unnecessary indentation/scope
This commit is contained in:
parent
4cdd36aed3
commit
ad8f49fe79
|
@ -3331,7 +3331,6 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect View)
|
|||
float LayerCur = 0;
|
||||
|
||||
// render layers
|
||||
{
|
||||
for(int g = 0; g < (int)m_Map.m_vpGroups.size(); g++)
|
||||
{
|
||||
if(LayerCur > LayerStopAt)
|
||||
|
@ -3518,7 +3517,6 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect View)
|
|||
LayersBox.HSplitTop(5.0f, &Slot, &LayersBox);
|
||||
LayerCur += 5.0f;
|
||||
}
|
||||
}
|
||||
|
||||
if(Input()->KeyPress(KEY_DOWN) && m_Dialog == DIALOG_NONE && m_EditBoxActive == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue