From 4423779b22d8db904752dc75894e8825b80bf179 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 9 Aug 2016 20:21:08 +0200 Subject: [PATCH] filter color change --- tabs/search/filter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/search/filter.lua b/tabs/search/filter.lua index 2a9e14c..c7ae961 100644 --- a/tabs/search/filter.lua +++ b/tabs/search/filter.lua @@ -155,7 +155,7 @@ function public.formatted_post_filter(components) if aux.filter.filters[component[2]].input_type == 'money' then parameter = aux.money.to_string(aux.money.from_string(parameter), nil, true, nil, nil, true) end - component_text = component_text..': '..(m.filter_builder_state.selected == i and '|cffffaa77' or aux.auction_listing.colors.ORANGE)..parameter..FONT_COLOR_CODE_CLOSE or component_text + component_text = component_text..': '..aux.auction_listing.colors.ORANGE..parameter..FONT_COLOR_CODE_CLOSE or component_text end while getn(stack) > 0 and stack[getn(stack)] do local top = tremove(stack) @@ -166,7 +166,7 @@ function public.formatted_post_filter(components) end end if m.filter_builder_state.selected == i then - component_text = LIGHTYELLOW_FONT_COLOR_CODE..component_text..FONT_COLOR_CODE_CLOSE + component_text = aux.auction_listing.colors.GREEN..component_text..FONT_COLOR_CODE_CLOSE else component_text = aux.auction_listing.colors.YELLOW..component_text..FONT_COLOR_CODE_CLOSE end