Don't show n+1/n when we run out of queue

custom
jacqueline 8 months ago committed by cooljqln
parent 71aafc1711
commit 9145722b08
  1. 3
      src/tangara/ui/ui_fsm.cpp

@ -436,6 +436,9 @@ void UiState::react(const audio::QueueUpdate& update) {
if (queue_size > 0) {
current_pos++;
}
if (current_pos > queue_size) {
current_pos = queue_size;
}
sQueuePosition.setDirect(current_pos);
sQueueRandom.setDirect(queue.random());
sQueueRepeat.setDirect(queue.repeat());

Loading…
Cancel
Save