This commit is contained in:
Bunny67
2018-07-15 20:55:22 +03:00
parent 448ea4ea0c
commit bd678e29bf
3 changed files with 13 additions and 10 deletions
+3 -3
View File
@@ -331,7 +331,7 @@ function AB:StyleButton(button, noBackdrop)
self:FixKeybindText(button)
E:StyleButton(button)
if(not self.handledButtons[button]) then
if not self.handledButtons[button] then
E:RegisterCooldown(buttonCooldown)
self.handledButtons[button] = true
@@ -381,7 +381,7 @@ function AB:DisableBlizzard()
ShapeshiftBarMiddle,
ShapeshiftBarRight,
}
for _, element in pairs(elements) do
for _, element in ipairs(elements) do
if element:GetObjectType() == "Frame" then
element:UnregisterAllEvents()
end
@@ -401,7 +401,7 @@ function AB:DisableBlizzard()
"ShapeshiftBarFrame",
"PETACTIONBAR_YPOS",
}
for _, frame in pairs(uiManagedFrames) do
for _, frame in ipairs(uiManagedFrames) do
UIPARENT_MANAGED_FRAME_POSITIONS[frame] = nil
end
uiManagedFrames = nil
+3
View File
@@ -32,6 +32,7 @@ function UF:Construct_RaidFrames()
self.GPS = UF:Construct_GPS(self)
self.InfoPanel = UF:Construct_InfoPanel(self)
self.Range = UF:Construct_Range(self)
UF:Update_StatusBars()
UF:Update_FontStrings()
self.unitframeType = "raid"
@@ -117,6 +118,8 @@ function UF:Update_RaidFrames(frame, db)
UF:Configure_RaidRoleIcons(frame)
UF:Configure_Range(frame)
frame:UpdateAllElements("ElvUI_UpdateAllElements")
end