From 9db954eddc751b1b720761f9303703452781886d Mon Sep 17 00:00:00 2001 From: Eris Lund <38136789+0x5066@users.noreply.github.com> Date: Wed, 28 Dec 2022 08:37:11 +0100 Subject: [PATCH] fix manual advance not working at all --- scripts/actioninfo.m | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/actioninfo.m b/scripts/actioninfo.m index d9eb9da..acda04d 100644 --- a/scripts/actioninfo.m +++ b/scripts/actioninfo.m @@ -150,14 +150,9 @@ int v = getCurCfgVal(); SongTicker.hide(); InfoTicker.show(); - if (on){ - InfoTicker.setText("Repeat: ON"); - RepeatBtn.setXmlParam("downImage", "reppa"); - } - else{ - InfoTicker.setText("Repeat: OFF"); - RepeatBtn.setXmlParam("downImage", "repp"); - } + if (v == 0) InfoTicker.setText("Repeat: Off"); + else if (v > 0) InfoTicker.setText("Repeat: Playlist"); + else if (v < 0) InfoTicker.setText("Repeat: Track"); } ShuffleBtn.onToggle(boolean on) {