mirror of
https://github.com/AquaMorph/Droplets.git
synced 2025-04-29 17:35:33 +00:00
Fixed taking input for inactive sequence steps
This commit is contained in:
parent
45fc7ea9a5
commit
c362062855
@ -38,7 +38,7 @@ void SequencerDroplet::Process(AudioHandle::InputBuffer in,
|
|||||||
for (size_t chn = GetChannelMin(); chn < GetChannelMax(); chn++) {
|
for (size_t chn = GetChannelMin(); chn < GetChannelMax(); chn++) {
|
||||||
if (std::abs(control[chn].Process()
|
if (std::abs(control[chn].Process()
|
||||||
-last_control_value[chn]) > CONTROL_DEADZONE) {
|
-last_control_value[chn]) > CONTROL_DEADZONE) {
|
||||||
if (!InMenu()) {
|
if (!InMenu() && (int) chn+selected*num_columns < sequence_length) {
|
||||||
sequence[chn+selected*num_columns] = control[chn].Process();
|
sequence[chn+selected*num_columns] = control[chn].Process();
|
||||||
} else {
|
} else {
|
||||||
if (chn == GetChannelMin()) {
|
if (chn == GetChannelMin()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user