small filter color change
This commit is contained in:
@@ -155,7 +155,7 @@ function public.formatted_post_filter(components)
|
|||||||
if aux.filter.filters[component[2]].input_type == 'money' then
|
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)
|
parameter = aux.money.to_string(aux.money.from_string(parameter), nil, true, nil, nil, true)
|
||||||
end
|
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
|
end
|
||||||
while getn(stack) > 0 and stack[getn(stack)] do
|
while getn(stack) > 0 and stack[getn(stack)] do
|
||||||
local top = tremove(stack)
|
local top = tremove(stack)
|
||||||
|
|||||||
@@ -58,6 +58,11 @@ function public.format(money, exact, color)
|
|||||||
return str
|
return str
|
||||||
end
|
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)
|
function public.to_string(money, pad, trim, decimal_points, color, no_color)
|
||||||
local is_negative = money < 0
|
local is_negative = money < 0
|
||||||
money = abs(money)
|
money = abs(money)
|
||||||
|
|||||||
Reference in New Issue
Block a user