tweak style support
This commit is contained in:
@@ -132,7 +132,6 @@ function ActionBar:ApplyConfig(config)
|
||||
|
||||
self:UpdateButtons()
|
||||
self:UpdateStates()
|
||||
self:ForAll("ApplyStyle", self.config.style)
|
||||
end
|
||||
|
||||
-- Update the number of buttons in our bar, creating new ones if necessary
|
||||
@@ -154,6 +153,7 @@ function ActionBar:UpdateButtons(numbuttons)
|
||||
-- show active buttons
|
||||
for i = 1, numbuttons do
|
||||
buttons[i]:Show()
|
||||
buttons[i]:ApplyStyle(self.config.style)
|
||||
buttons[i]:UpdateAction(true)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user