fix: blink only selected active src/fx
Clang Build CI / run-no-video (push) Canceled after 6m37s
Clang Build CI / build-release (push) Canceled after 7m14s
Clang Lint CI / lint-no-video (push) Failing after 10m55s
Clang Build CI / run-video (push) Canceled after 11m1s
Clang Lint CI / lint-video (push) Failing after 8m45s
Clang Build CI / run-no-video (push) Canceled after 6m37s
Clang Build CI / build-release (push) Canceled after 7m14s
Clang Lint CI / lint-no-video (push) Failing after 10m55s
Clang Build CI / run-video (push) Canceled after 11m1s
Clang Lint CI / lint-video (push) Failing after 8m45s
This commit is contained in:
+4
-1
@@ -60,7 +60,10 @@ static void update_active(const Context *context, StateConfig state_config,
|
||||
j++) {
|
||||
k = state_config.group_active_offsets.values[i] + j;
|
||||
safe_midi_write(midi, state_config.group_active_codes.values[k],
|
||||
context->active[i] == j && beat_active ? MIDI_MAX : 0);
|
||||
context->active[i] == j &&
|
||||
(context->selected != k || beat_active)
|
||||
? MIDI_MAX
|
||||
: 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user