From 24fde7af0cc411e897e28ba4612105c4aa9bee18 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 12 Jul 2024 16:14:52 +1000 Subject: Disable shuffle when selecting 'play all' --- lua/browser.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/browser.lua') diff --git a/lua/browser.lua b/lua/browser.lua index ce0f7978..f8f87a6a 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -84,6 +84,7 @@ return screen:new{ local play = widgets.IconBtn(buttons, "//lua/img/play_small.png", "Play") play:onClicked(function() queue.clear() + queue.random:set(false) queue.add(original_iterator) playback.playing:set(true) backstack.push(playing:new()) -- cgit v1.2.3 From 3ed3f1dfeb7f83630f0e1d0633eaa5fbda9d37c7 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 16 Aug 2024 11:42:32 +1000 Subject: Add cool skeumorphic embossing --- lua/browser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/browser.lua') diff --git a/lua/browser.lua b/lua/browser.lua index f8f87a6a..31cb9b54 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -58,7 +58,7 @@ return screen:new{ flex = { flex_direction = "row", flex_wrap = "wrap", - justify_content = "center", + justify_content = "space-between", align_items = "center", align_content = "center" }, -- cgit v1.2.3 From 91eaed4b37c7cda29103d3478df3e2c6356f8396 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 29 Aug 2024 15:52:34 +1000 Subject: use snake_case consistently in lua function names --- lua/browser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/browser.lua') diff --git a/lua/browser.lua b/lua/browser.lua index 31cb9b54..406c2e49 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -10,7 +10,7 @@ local theme = require("theme") local screen = require("screen") return screen:new{ - createUi = function(self) + create_ui = function(self) self.root = lvgl.Object(nil, { flex = { flex_direction = "column", -- cgit v1.2.3