mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Fix multiple layer selection for groups
This commit is contained in:
parent
7432f569e2
commit
88c054261a
|
@ -3351,7 +3351,8 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect View)
|
|||
|
||||
if((Input()->KeyIsPressed(KEY_LSHIFT) || Input()->KeyIsPressed(KEY_RSHIFT)) && m_SelectedGroup == g)
|
||||
{
|
||||
for(int i = 1; i < m_Map.m_lGroups[g]->m_lLayers.size(); i++)
|
||||
m_lSelectedLayers.clear();
|
||||
for(int i = 0; i < m_Map.m_lGroups[g]->m_lLayers.size(); i++)
|
||||
{
|
||||
m_lSelectedLayers.add(i);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue