Future release count as release

This commit is contained in:
Paul Ferrand 2020-03-31 23:42:51 +02:00 committed by Paul Fd
parent ae7f84204c
commit d5451846a0

View file

@ -195,7 +195,7 @@ bool ADSREnvelope<Type>::isSmoothing() const noexcept
template <class Type>
bool ADSREnvelope<Type>::isReleased() const noexcept
{
return (currentState == State::Release);
return (currentState == State::Release) || shouldRelease;
}
template <class Type>