Don't show castbar "show rank" option on BfA

All the spellcasting event callbacks need their signatures changed, but I can't cleanly do that without breaking Legion compatibility. So that will have to wait, I think. Castbars seem to be working for now...
The simplest solution is probably to register different callbacks for BfA versus pre-BfA, but that seems ugly.
This commit is contained in:
Parnic
2018-06-07 00:24:50 -05:00
parent 30281ddb76
commit 097c5802e0

View File

@ -91,7 +91,7 @@ function IceCastBar.prototype:GetOptions()
end,
order = 39.998
}
if IceHUD.WowVer < 80000 then
opts["showSpellRank"] =
{
type = 'toggle',
@ -108,7 +108,7 @@ function IceCastBar.prototype:GetOptions()
end,
order = 39.999
}
end
opts["iconSettings"] = {
type = 'group',
name = "|c"..self.configColor..L["Icon Settings"].."|r",