- 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:
Parnic
2010-06-25 18:03:32 +00:00
parent 61ae20461b
commit 242bc75ea1

View File

@ -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