summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-06-18 15:30:35 +1000
committerailurux <ailuruxx@gmail.com>2024-06-18 15:30:35 +1000
commitcb9560428d34c2bf2371d0dda869b5c47166a926 (patch)
tree8280ff9ddc67fd88d3a1edd17f2b6f882ab1e4a8 /lua
parent5e2945f24612641cb41c91405a651ffcbc51cb37 (diff)
downloadtangara-fw-cb9560428d34c2bf2371d0dda869b5c47166a926.tar.gz
Fix issue with previous not working with shuffle
Diffstat (limited to 'lua')
-rw-r--r--lua/playing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/playing.lua b/lua/playing.lua
index 1acfe25e..71d95892 100644
--- a/lua/playing.lua
+++ b/lua/playing.lua
@@ -171,7 +171,7 @@ return screen:new {
local prev_btn = controls:Button {}
prev_btn:onClicked(function()
- if playback.position:get() > 1 or queue.position:get() == 1 then
+ if playback.position:get() > 3 then
playback.position:set(0)
else
queue.previous()