From a977296ca3768cb8c833574456f66144d62c0bc9 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 10 Feb 2017 13:22:44 +0100 Subject: [PATCH] post color change --- tabs/post/core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/post/core.lua b/tabs/post/core.lua index 80932a0..96aa844 100644 --- a/tabs/post/core.lua +++ b/tabs/post/core.lua @@ -137,9 +137,9 @@ function update_auction_listing(listing, records, reference) local price_color = money.from_string(money.to_string(undercut(record, stack_size_slider:GetValue(), listing == 'bid'), true, nil, 3)) < reference and color.red tinsert(rows, O( 'cols', A( - O('value', record.own and color.yellow(record.count) or record.count), + O('value', record.own and color.green(record.count) or record.count), O('value', al.time_left(record.duration)), - O('value', record.stack_size == stack_size and color.yellow(record.stack_size) or record.stack_size), + O('value', record.stack_size == stack_size and color.green(record.stack_size) or record.stack_size), O('value', money.to_string(record.unit_price, true, nil, 3, price_color)), O('value', historical_value and al.percentage_historical(round(record.unit_price / historical_value * 100)) or '---') ),