Division by zero fix
This commit is contained in:
parent
48b9bf0f3b
commit
d97fe98a78
21 changed files with 604 additions and 552 deletions
|
|
@ -173,6 +173,7 @@ end
|
|||
local spellIcon = GetSpellTexture(cooldownFrame.spellId)
|
||||
if (spellIcon) then
|
||||
cooldownFrame:SetIcon(spellIcon, .1, .9, .1, .9)
|
||||
|
||||
local classColor = C_ClassColor.GetClassColor(cooldownFrame.class)
|
||||
cooldownFrame:SetStatusBarColor(classColor.r, classColor.g, classColor.b)
|
||||
cooldownFrame:SetLeftText(DF:RemoveRealmName(cooldownFrame.unitName))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue