From 92fcf2927493e5497e23a1b6e71d66ee92b25c42 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 8 Feb 2016 22:59:27 +0100 Subject: [PATCH] nicer tooltip --- core.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core.lua b/core.lua index 11cb3a5..14111ed 100644 --- a/core.lua +++ b/core.lua @@ -32,13 +32,13 @@ function Aux.on_load() if market_value then local market_value_line = 'Value'..(aux_conservative_value and ' (Cons): ' or ': ') if count == 1 then - market_value_line = market_value_line..EnhTooltip.GetTextGSC(market_value) + market_value_line = market_value_line..Aux.money.to_string(market_value, nil, true, nil, '|cffffffff') else - market_value_line = market_value_line..EnhTooltip.GetTextGSC(market_value * count)..' / '..EnhTooltip.GetTextGSC(market_value) + market_value_line = market_value_line..Aux.money.to_string(market_value * count, nil, true, nil, '|cffffffff')..' / '..Aux.money.to_string(market_value, nil, true, nil, '|cffffffff') end EnhTooltip.AddLine(market_value_line, nil, true) - EnhTooltip.LineColor(0.1,0.8,0.5) + EnhTooltip.LineColor(130/255,130/255,250/255) end -- end end)