mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #6992 from Marmare314/selection-order-bug
Switch order in which envelope points are selected
This commit is contained in:
commit
8eab94bcac
|
@ -5969,7 +5969,7 @@ void CEditor::SetHotEnvelopePoint(const CUIRect &View, const std::shared_ptr<CEn
|
|||
|
||||
for(size_t i = 0; i < pEnvelope->m_vPoints.size(); i++)
|
||||
{
|
||||
for(int c = 0; c < pEnvelope->GetChannels(); c++)
|
||||
for(int c = pEnvelope->GetChannels() - 1; c >= 0; c--)
|
||||
{
|
||||
if(!(ActiveChannels & (1 << c)))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue