diff options
Diffstat (limited to 'osd.lua')
| -rw-r--r-- | osd.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -175,7 +175,7 @@ function mt:menu_title(menu) str = str:gsub('<num_total>', #menu.search_options) end - if menu.sorted then + if menu:is_sorted() then str = colour.icon_sorted .. icon.sorted .. ' ' .. col .. str end @@ -226,7 +226,7 @@ end function mt:option_text(opt, info) local str = opt.name - local col = colour.option + local col = opt.ended and colour.option_dim or colour.option if info.selected then col = info.empty and colour.selected_empty or colour.selected elseif info.empty then |
