# HG changeset patch # User Asa Ayers # Date 1280675768 25200 # Node ID 574c154d24abbd6dc6addc4c4eca0bf641fd1e92 # Parent 8882af8f932c991c8255fc2552d38ec7f750ec26 Fixed the tooltip so that it is green if the auction price exactly matches your threshold. diff -r 8882af8f932c -r 574c154d24ab CHANGELOG.txt --- 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 + +- Fixed the tooltip so that it is green if the auction price exactly matches your threshold. + 2010-07-29 Asa Ayers - Fixed a bug where tradeskill that don't produce items, like Inscription Research, cause IA to crash. diff -r 8882af8f932c -r 574c154d24ab Modules/Tooltip.lua --- 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