Merge pull request #6992 from Marmare314/selection-order-bug

Switch order in which envelope points are selected
This commit is contained in:
Dennis Felsing 2023-08-10 20:22:53 +00:00 committed by GitHub
commit 8eab94bcac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;