Skip to content

Commit

Permalink
... And fixed it xD
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Nov 21, 2024
1 parent 0dcac2c commit 1b3af47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ItemOverlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function app.GetTooltipRedText(itemLink)
local tooltip = C_TooltipInfo.GetHyperlink(itemLink)
if tooltip["lines"] then
for k, v in ipairs(tooltip["lines"]) do
if v.leftColor["r"] ~= 1 and v.leftColor["g"] ~= 1 and v.leftColor["b"] ~= 1 then
if v.leftColor["r"] == 1 and v.leftColor["g"] > 0.1 and v.leftColor["g"] < 0.2 and v.leftColor["b"] > 0.1 and v.leftColor["b"] < 0.2 then
return true
end
end
Expand Down

0 comments on commit 1b3af47

Please sign in to comment.