small filter color change

This commit is contained in:
Manuel Simon Hirsig
2016-08-09 19:30:47 +02:00
parent 47c40803e9
commit 244d8a5417
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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..': '..aux.auction_listing.colors.ORANGE..parameter..FONT_COLOR_CODE_CLOSE or component_text
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
end
while getn(stack) > 0 and stack[getn(stack)] do
local top = tremove(stack)
+5
View File
@@ -58,6 +58,11 @@ function public.format(money, exact, color)
return str
end
--function public.to_string(params) -- TODOSS
-- local gold, silver, copper = m.gsc(params.copper or 0 + )
-- local settings = aux.util.set(unpack(arg))
--end
function public.to_string(money, pad, trim, decimal_points, color, no_color)
local is_negative = money < 0
money = abs(money)