Skip to content

Commit

Permalink
fix: исправить переключение следующего трека при включенном повторе т…
Browse files Browse the repository at this point in the history
…река
  • Loading branch information
Rirusha committed May 28, 2024
1 parent d4d4b56 commit 7786594
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/client/player/mods/flow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ public class Cassette.Client.Player.Flow : Mode {
break;

case RepeatMode.ONE:
if (!consider_repeat_mode) {
if (index + 1 == queue.size) {
index = -1;

} else {
index++;
}
}
break;

default:
Expand Down

0 comments on commit 7786594

Please sign in to comment.