changed filter color back to orange from gold (urine)
This commit is contained in:
@@ -214,7 +214,7 @@ function public.formatted_post_filter(components)
|
|||||||
end
|
end
|
||||||
no_line_break = component[1] == 'operator' and component[2] == 'not'
|
no_line_break = component[1] == 'operator' and component[2] == 'not'
|
||||||
|
|
||||||
local filter_color = (filter_builder_state.selected == i and color.orange or color.aux)
|
local filter_color = (filter_builder_state.selected == i and color.aux or color.orange)
|
||||||
local component_text = filter_color(component[2])
|
local component_text = filter_color(component[2])
|
||||||
if component[1] == 'operator' and component[2] ~= 'not' then
|
if component[1] == 'operator' and component[2] ~= 'not' then
|
||||||
component_text = component_text .. filter_color(tonumber(component[3]) or '')
|
component_text = component_text .. filter_color(tonumber(component[3]) or '')
|
||||||
|
|||||||
+2
-2
@@ -461,10 +461,10 @@ function private.prettified_filter_string(filter)
|
|||||||
prettified.append(color.blizzard(component[3]))
|
prettified.append(color.blizzard(component[3]))
|
||||||
end
|
end
|
||||||
elseif component[1] == 'operator' then
|
elseif component[1] == 'operator' then
|
||||||
prettified.append(color.aux(component[2] .. (component[2] ~= 'not' and tonumber(component[3]) or '')))
|
prettified.append(color.orange(component[2] .. (component[2] ~= 'not' and tonumber(component[3]) or '')))
|
||||||
elseif component[1] == 'filter' then
|
elseif component[1] == 'filter' then
|
||||||
if component[2] ~= 'tooltip' then
|
if component[2] ~= 'tooltip' then
|
||||||
prettified.append(color.aux(component[2]))
|
prettified.append(color.orange(component[2]))
|
||||||
end
|
end
|
||||||
for parameter in present(component[3]) do
|
for parameter in present(component[3]) do
|
||||||
if component[2] == 'item' then
|
if component[2] == 'item' then
|
||||||
|
|||||||
Reference in New Issue
Block a user