Skip to content

Commit

Permalink
slow down the scrolling on secondary tape_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
eichblatt committed Aug 21, 2022
1 parent a254400 commit e825947
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions timemachine/livemusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,12 @@ def select_button_longpress(button, state):
for i in range(0, max(1, len(tape_id)), 2):
show_venue_text(tapes[itape], color=id_color, show_id=True, offset=i, force=True)
# TMB.scr.show_venue(tape_id[i:], color=id_color, force=True)
sleep(0.25)
if not button.is_held:
break
tape_id = tapes[itape].identifier
sbd = tapes[itape].stream_only()
id_color = (0, 255, 255) if sbd else (0, 0, 255)
TMB.scr.show_venue(tape_id, color=id_color)
tape = tapes[itape]
state = select_tape(tape, state, autoplay=AUTO_PLAY)
Expand Down

0 comments on commit e825947

Please sign in to comment.