diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-06 08:35:36 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-06 08:36:11 +1100 |
| commit | 177277334ff81f3f5f1a69a5216b67b9c3561b4f (patch) | |
| tree | 7364bd534b0c0ee3ffff39ab0a686748ce3c1bb2 /lua/playing.lua | |
| parent | 5f6af82e8a535864aabdf92d1061cbb04999ecce (diff) | |
| download | tangara-fw-177277334ff81f3f5f1a69a5216b67b9c3561b4f.tar.gz | |
focus the play/pause toggle when entering the now playing screen
Diffstat (limited to 'lua/playing.lua')
| -rw-r--r-- | lua/playing.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/playing.lua b/lua/playing.lua index df15545a..e31e10a2 100644 --- a/lua/playing.lua +++ b/lua/playing.lua @@ -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 {} |
