From ab475bb503b248b63f4d3eae3ffe1a6d1caf5e1f Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Thu, 6 Oct 2016 21:27:22 +0200 Subject: [PATCH] blizzard query now also orange (blue didn't have enough contrast with blue items --- util/filter.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/filter.lua b/util/filter.lua index 21026b0..72cfcf0 100644 --- a/util/filter.lua +++ b/util/filter.lua @@ -453,12 +453,12 @@ function private.prettified_filter_string(filter) if component[1] == 'blizzard' then if component[2] == 'name' then if filter.blizzard.exact then - prettified.append(info.display_name(aux_cache.item_id(component[4])) or color.blizzard('[' .. component[4] .. ']')) + prettified.append(info.display_name(aux_cache.item_id(component[4])) or color.orange('[' .. component[4] .. ']')) elseif component[4] ~= '' then - prettified.append(color.blizzard(component[4])) + prettified.append(color.orange(component[4])) end elseif component[2] ~= 'exact' then - prettified.append(color.blizzard(component[3])) + prettified.append(color.orange(component[3])) end elseif component[1] == 'operator' then prettified.append(color.orange(component[2] .. (component[2] ~= 'not' and tonumber(component[3]) or ''))) @@ -480,7 +480,7 @@ function private.prettified_filter_string(filter) end end if prettified.get() == '' then - return color.blizzard'<>' + return color.orange'<>' else return prettified.get() end