mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Merge pull request #2949 from Learath2/dd_pr_edsel
Fix multiple layer selection for groups
This commit is contained in:
commit
b8760cdce5
|
@ -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