General Fixes after major patch

This commit is contained in:
Tercio Jose
2024-01-17 11:35:18 -03:00
parent 159c9c5f19
commit 4eff7b223e
6 changed files with 19 additions and 12 deletions
+5 -1
View File
@@ -3035,8 +3035,9 @@ function Details:ShowExtraStatusbar(thisLine, amount, extraAmount, totalAmount,
--check if the extra bar will be bigger than the window
local windowWidth = instanceObject:GetSize()
local lineWidth = thisLine:GetWidth()
local lineWidth = thisLine:GetWidth() * (amount/topAmount)
local maxExtraBarWidth = windowWidth - lineWidth - initialOffset
if (extraStatusbarWidth > maxExtraBarWidth) then
extraStatusbarWidth = maxExtraBarWidth
end
@@ -3455,6 +3456,9 @@ function damageClass.PredictedAugSpellsOnEnter(self)
end
end
end
GameCooltip:AddLine(" ")
GameCooltip:AddIcon("", 1, 1, 5, 5)
end
end
else