summaryrefslogtreecommitdiff
path: root/osd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'osd.lua')
-rw-r--r--osd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/osd.lua b/osd.lua
index 2a05018..cf1b1d8 100644
--- a/osd.lua
+++ b/osd.lua
@@ -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