mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed the slice'n'dice duration bar from not showing up when one of its alpha values is set to 0
This commit is contained in:
@ -293,6 +293,7 @@ function SliceAndDice.prototype:UpdateDurationBar(unit)
|
||||
if scale == 0 then
|
||||
self.durationFrame.bar:Hide()
|
||||
else
|
||||
self.durationFrame.bar:SetVertexColor(self:GetColor("SliceAndDicePotential", self.alpha * self.moduleSettings.durationAlpha))
|
||||
self.durationFrame.bar:Show()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user