summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index c139c07..41a1b3a 100644
--- a/main.lua
+++ b/main.lua
@@ -137,7 +137,7 @@ end
local function cursor_to_object(id)
for i, v in ipairs(state:menu().options) do
if v.id == id then
- set_cursor(i, {centre = true})
+ set_cursor(i, {centre = true, skip_redraw = true})
return
end
end
@@ -384,7 +384,6 @@ local function push_group_menu(group)
type = 'group',
group_id = group.id,
})
- update_osd()
end
-- refresh options when navigating up the stack to a previous favourites menu.
@@ -447,8 +446,9 @@ local function prev_menu()
if state:menu().group_id == 'favourites' then
refresh_favourites_menu()
end
- update_osd()
end
+
+ update_osd()
end
local function play_stream(stream)
@@ -473,6 +473,7 @@ local function select_option()
if opt.type == 'group' then
push_group_menu(opt)
+ update_osd()
elseif opt.type == 'stream' then
play_stream(opt)
end