Merge branch 'test-unitframes' into auras-work

This commit is contained in:
Logan Payton
2018-05-30 22:28:57 -04:00
+1 -2
View File
@@ -370,8 +370,7 @@ end
local function Enable(self) local function Enable(self)
if self.AuraBars then if self.AuraBars then
self:RegisterEvent("PLAYER_AURAS_CHANGED") self:RegisterEvent("PLAYER_AURAS_CHANGED", Update)
self:SetScript("OnEvent", function() Update(self, event, "player") end)
self.AuraBars:SetHeight(1) self.AuraBars:SetHeight(1)
self.AuraBars.bars = self.AuraBars.bars or {} self.AuraBars.bars = self.AuraBars.bars or {}
self.AuraBars.SetAnchors = SetAnchors self.AuraBars.SetAnchors = SetAnchors