Mercurial > wow > itemauditor
changeset 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 | 8882af8f932c |
children | a8fc802b42ba |
files | CHANGELOG.txt Modules/Tooltip.lua |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Thu Jul 29 22:36:50 2010 -0700 +++ b/CHANGELOG.txt Sun Aug 01 08:16:08 2010 -0700 @@ -1,3 +1,7 @@ +2010-08-01 Asa Ayers <Asa.Ayers@Gmail.com> + +- Fixed the tooltip so that it is green if the auction price exactly matches your threshold. + 2010-07-29 Asa Ayers <Asa.Ayers@Gmail.com> - Fixed a bug where tradeskill that don't produce items, like Inscription Research, cause IA to crash.
--- 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