focus the play/pause toggle when entering the now playing screen

This commit is contained in:
jacqueline
2024-02-06 08:36:11 +11:00
parent 5f6af82e8a
commit 177277334f
+1
View File
@@ -123,6 +123,7 @@ return function(opts)
play_pause_btn:onClicked(function()
playback.playing:set(not playback.playing:get())
end)
play_pause_btn:focus()
local play_pause_img = play_pause_btn:Image { src = img.pause }
local next_btn = controls:Button {}