added shuffle button to UI + base data flow

This commit is contained in:
Siiiiinth
2026-01-17 19:03:33 +01:00
parent 0fb1e5fa17
commit 71a5df9d51
4 changed files with 24 additions and 4 deletions
+4 -4
View File
@@ -111,11 +111,11 @@ func (a *AuxControls) SetLoopMode(mode backend.LoopMode) {
}
func (a *AuxControls) SetShuffle(isShuffle bool) {
if isShuffle {
a.shuffle.Highlighted = true
} else {
a.shuffle.Highlighted = false
if isShuffle == a.shuffle.Highlighted {
return
}
a.shuffle.Highlighted = isShuffle
a.shuffle.Refresh()
}
func (a *AuxControls) DisableCastButton() {