triggerbox: continued work on Repeat trigger mode

This commit is contained in:
Paul Davis 2021-12-15 12:26:37 -07:00
parent 8b1f7a696d
commit ed6121d76e
2 changed files with 37 additions and 24 deletions

View file

@ -581,7 +581,8 @@ TriggerBoxUI::play_button_event (GdkEvent *ev, uint64_t n)
case GDK_BUTTON_RELEASE:
switch (ev->button.button) {
case 1:
if (_slots[n]->trigger().launch_style() == Trigger::Gate) {
if (_slots[n]->trigger().launch_style() == Trigger::Gate ||
_slots[n]->trigger().launch_style() == Trigger::Repeat) {
_slots[n]->trigger().unbang ();
}
break;