Mercurial > wow > itemauditor
diff Modules/Tooltip.lua @ 76:574c154d24ab
Fixed the tooltip so that it is green if the auction price exactly matches your threshold.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 01 Aug 2010 08:16:08 -0700 |
parents | e7d287cc3b02 |
children | 79dc87430cb3 |
line wrap: on
line diff
--- a/Modules/Tooltip.lua Thu Jul 29 22:36:50 2010 -0700 +++ b/Modules/Tooltip.lua Sun Aug 01 08:16:08 2010 -0700 @@ -19,7 +19,7 @@ local ap = ItemAuditor:GetAuctionPrice(link) if ap == nil then suggestColor = nil - elseif ap > ceil(investedPerItem/keep) then + elseif ap >= ceil(investedPerItem/keep) then suggestColor = "|cFF00FF00" -- green else suggestColor = "|cFFFF0000" -- red