update buttons after setting the style
This commit is contained in:
@@ -80,6 +80,10 @@ function Bartender4.ButtonStyle.ApplyStyle(button, styleName)
|
||||
else
|
||||
button.icon:SetAllPoints(button)
|
||||
end
|
||||
|
||||
if type(button.Update) == "function" then
|
||||
button:Update()
|
||||
end
|
||||
end
|
||||
|
||||
function Bartender4.ButtonStyle:GetStyles()
|
||||
|
||||
Reference in New Issue
Block a user