summaryrefslogtreecommitdiff
path: root/osd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'osd.lua')
-rw-r--r--osd.lua11
1 files changed, 7 insertions, 4 deletions
diff --git a/osd.lua b/osd.lua
index 77f98d0..87da3ab 100644
--- a/osd.lua
+++ b/osd.lua
@@ -259,8 +259,8 @@ function mt:option_text(opt, info)
if opt.programme and opt.type == 'programme' and opt.active then
str = str .. ' ' .. self:draw_progress_bar(
- opt.programme, colour.progress_bar_epg_fg,
- colour.progress_bar_epg_bg)
+ opt.programme, colour.progress_bar_fg_active,
+ colour.progress_bar_bg_active)
end
local opt_info = opt.info
@@ -270,8 +270,11 @@ function mt:option_text(opt, info)
if opt.programme and opt.type ~= 'programme' then
str = str .. ' ' .. self:draw_progress_bar(
- opt.programme, colour.progress_bar_fg,
- colour.progress_bar_bg)
+ opt.programme,
+ info.selected and colour.progress_bar_fg_active or
+ colour.progress_bar_fg,
+ info.selected and colour.progress_bar_bg_active or
+ colour.progress_bar_bg)
end
return str