fixed the total price display bug (well, more missing feature than bug), improved the appearance of the buy tab a lot

This commit is contained in:
Manuel Simon Hirsig
2015-09-09 04:27:02 +02:00
parent 41e0eefe47
commit a31cc69abe
5 changed files with 101 additions and 280 deletions
+3 -4
View File
@@ -595,11 +595,10 @@ function Auctionator_ScrollbarUpdate()
end
local tx = string.format("%i %s of %i", auctionatorEntry.count, Auctionator_PluralizeIf("stack", auctionatorEntry.count), auctionatorEntry.stackSize)
MoneyFrame_Update("AuctionatorEntry"..line.."_PerItem_Price", Auctionator_Round(auctionatorEntry.buyoutPrice/auctionatorEntry.stackSize))
lineEntry_avail:SetText(tx)
lineEntry_stack:SetText(Auctionator_PriceToString(auctionatorEntry.buyoutPrice))
MoneyFrame_Update("AuctionatorEntry"..line.."_UnitPrice", Auctionator_Round(auctionatorEntry.buyoutPrice/auctionatorEntry.stackSize))
MoneyFrame_Update("AuctionatorEntry"..line.."_TotalPrice", Auctionator_Round(auctionatorEntry.buyoutPrice))
lineEntry:Show()
else