Fix several sequencer bugs
parent
69d5fce84a
commit
a0727ef962
|
@ -154,10 +154,11 @@ def mode_buttons():
|
||||||
for row in range(total_rows):
|
for row in range(total_rows):
|
||||||
for col in range(total_cols):
|
for col in range(total_cols):
|
||||||
active_states[row][col] = False
|
active_states[row][col] = False
|
||||||
ui_changed = False
|
ui_changed = True
|
||||||
if is_triggered(Buttons.BTN_A):
|
if is_triggered(Buttons.BTN_A):
|
||||||
if (joy_last_pressed[5] + debounce_time < time.ticks_ms()):
|
if (joy_last_pressed[5] + debounce_time < time.ticks_ms()):
|
||||||
joy_last_pressed[5] = time.ticks_ms()
|
joy_last_pressed[5] = time.ticks_ms()
|
||||||
|
speaker.stop()
|
||||||
display_help()
|
display_help()
|
||||||
ui_changed = True
|
ui_changed = True
|
||||||
if is_triggered(Buttons.BTN_Menu):
|
if is_triggered(Buttons.BTN_Menu):
|
||||||
|
|
Loading…
Reference in New Issue