start castbar. not finished

This commit is contained in:
Bunny67
2018-06-02 20:37:32 +03:00
parent 8edcbda164
commit a38ad77063
6 changed files with 355 additions and 238 deletions
+3 -1
View File
@@ -24,7 +24,7 @@ function UF:Construct_PlayerFrame(frame)
frame.Portrait2D = self:Construct_Portrait(frame, "texture")
frame.Buffs = self:Construct_Buffs(frame)
frame.Debuffs = self:Construct_Debuffs(frame)
-- frame.Castbar = self:Construct_Castbar(frame, L["Player Castbar"])
frame.Castbar = self:Construct_Castbar(frame, L["Player Castbar"])
frame.RaidTargetIndicator = UF:Construct_RaidIcon(frame)
frame.RestingIndicator = self:Construct_RestingIndicator(frame)
frame.CombatIndicator = self:Construct_CombatIndicator(frame)
@@ -102,6 +102,8 @@ function UF:Update_PlayerFrame(frame, db)
UF:Configure_Auras(frame, "Buffs")
UF:Configure_Auras(frame, "Debuffs")
UF:Configure_Castbar(frame)
UF:Configure_RaidIcon(frame)
E:SetMoverSnapOffset(frame:GetName().."Mover", -(12 + db.castbar.height))