Skip to content

Commit

Permalink
FIX: full dps visual bug on gem dropdown (#8087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paliak authored Aug 6, 2024
1 parent 611cc90 commit 0f522fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/Build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ function buildMode:CompareStatList(tooltip, statList, actor, baseOutput, compare
local statVal1 = compareOutput[statData.stat] or 0
local statVal2 = baseOutput[statData.stat] or 0
local diff = statVal1 - statVal2
if statData.stat == "FullDPS" and not GlobalCache.useFullDPS and not self.viewMode == "TREE" then
if statData.stat == "FullDPS" and not GlobalCache.useFullDPS and self.viewMode ~= "TREE" then
diff = 0
end
if (diff > 0.001 or diff < -0.001) and (not statData.condFunc or statData.condFunc(statVal1,compareOutput) or statData.condFunc(statVal2,baseOutput)) then
Expand Down

0 comments on commit 0f522fe

Please sign in to comment.