Commit 344679ab authored by Simpy's avatar Simpy 🐹
Browse files

castbar: we need to adjust the width on time delays to, otherwise it will wrap

parent 5992d637
......@@ -289,6 +289,8 @@ function UF:CustomCastDelayText(duration)
self.Time:SetFormattedText('%.1f / %.1f |cffaf5050%s %.1f|r', abs(duration - self.max), self.max, '+', self.delay)
end
end
self.Time:SetWidth(self.Time:GetStringWidth())
end
function UF:CustomTimeText(duration)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment