diff options
Diffstat (limited to 'osd.lua')
| -rw-r--r-- | osd.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -257,7 +257,7 @@ function mt:option_text(opt, info) str = col .. '[' .. str .. ']' end - if opt.programme and opt.type == 'programme' and opt.active then + if opt.programme and opt.active then str = str .. ' ' .. self:draw_progress_bar( opt.programme, colour.progress_bar_fg_active, colour.progress_bar_bg_active) @@ -268,9 +268,9 @@ function mt:option_text(opt, info) str = str .. colour.info .. ' (' .. asscape(opt_info) .. ')' end - if opt.programme and opt.type ~= 'programme' then + if opt.active_programme then str = str .. ' ' .. self:draw_progress_bar( - opt.programme, + opt.active_programme, info.selected and colour.progress_bar_fg_active or colour.progress_bar_fg, info.selected and colour.progress_bar_bg_active or |
