prettier tooltip money, tooltip moved to bottom right of screen, added buyout sorting to the full views
This commit is contained in:
@@ -48,9 +48,9 @@ function Aux_OnLoad()
|
|||||||
local market_value = Aux.history.market_value(item_key)
|
local market_value = Aux.history.market_value(item_key)
|
||||||
local market_value_line
|
local market_value_line
|
||||||
if count == 1 then
|
if count == 1 then
|
||||||
market_value_line = 'Market Value: '..Aux.util.money_string(market_value)
|
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value)
|
||||||
else
|
else
|
||||||
market_value_line = 'Market Value: '..Aux.util.money_string(market_value * count)..' / '..Aux.util.money_string(market_value)
|
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value * count)..' / '..EnhTooltip.GetTextGSC(market_value)
|
||||||
end
|
end
|
||||||
|
|
||||||
EnhTooltip.AddLine(market_value_line, nil, true)
|
EnhTooltip.AddLine(market_value_line, nil, true)
|
||||||
|
|||||||
@@ -512,7 +512,7 @@ public.views = {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sort_order = {{column = 1, order = 'ascending' }},
|
sort_order = {{column = 1, order = 'ascending' }, {column = 7, order = 'ascending' }},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,8 @@ function public.set_tooltip(itemstring, EnhTooltip_info, owner, anchor, x_offset
|
|||||||
else
|
else
|
||||||
private.anchor_cursor = false
|
private.anchor_cursor = false
|
||||||
end
|
end
|
||||||
AuxTooltip:SetOwner(owner, anchor)
|
GameTooltip_SetDefaultAnchor(AuxTooltip, UIParent)
|
||||||
|
-- AuxTooltip:SetOwner(owner, anchor)
|
||||||
|
|
||||||
AuxTooltip:SetHyperlink(itemstring)
|
AuxTooltip:SetHyperlink(itemstring)
|
||||||
|
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ public.views = {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sort_order = {},
|
sort_order = {{column = 5, order = 'ascending'}},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user