actionbars

This commit is contained in:
Crum
2018-01-03 12:54:35 -06:00
parent 191471293b
commit ceeba74be2
@@ -227,7 +227,7 @@ function AB:CreateBar(id)
for i = 1, NUM_ACTIONBAR_BUTTONS do for i = 1, NUM_ACTIONBAR_BUTTONS do
bar.buttons[i]:SetParent(E.HiddenFrame) bar.buttons[i]:SetParent(E.HiddenFrame)
end end
bar.buttons = bar.actionButtons bar.buttons = bar.actionButtons
end end
@@ -301,7 +301,7 @@ function AB:StyleButton(button, noBackdrop)
macroName:Show() macroName:Show()
E:FontTemplate(macroName, LSM:Fetch("font", self.db.font), self.db.fontSize, self.db.fontOutline) E:FontTemplate(macroName, LSM:Fetch("font", self.db.font), self.db.fontSize, self.db.fontOutline)
macroName:ClearAllPoints() macroName:ClearAllPoints()
macroName:Point("BOTTOM", 2, 2) E:Point(macroName, "BOTTOM", 2, 2)
macroName:SetJustifyH("CENTER") macroName:SetJustifyH("CENTER")
else else
macroName:Hide() macroName:Hide()