diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-18 11:38:53 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-18 11:38:53 +1000 |
| commit | b17f8a3dcc36ec2479412f603c7b5e77003b80a2 (patch) | |
| tree | 17a73431f0fddd2acd5cd357d782ba86d210198e /lua/playing.lua | |
| parent | cc255f6d779b0478ae3eb795c2cae5ec864d8ef0 (diff) | |
| download | tangara-fw-b17f8a3dcc36ec2479412f603c7b5e77003b80a2.tar.gz | |
Merge the StatusBar bindings table with each screen's bindings table
Diffstat (limited to 'lua/playing.lua')
| -rw-r--r-- | lua/playing.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/playing.lua b/lua/playing.lua index deee6987..bfca8b68 100644 --- a/lua/playing.lua +++ b/lua/playing.lua @@ -41,7 +41,7 @@ return screen:new { }) self.root:center() - self.status_bar = widgets.StatusBar(self.root, { + self.status_bar = widgets.StatusBar(self, { back_cb = backstack.pop, transparent_bg = true, }) @@ -201,7 +201,7 @@ return screen:new { controls:Object({ flex_grow = 1, h = 1 }) -- spacer - self.bindings = { + self.bindings = self.bindings + { playback.playing:bind(function(playing) if playing then play_pause_img:set_src(img.pause) |
