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