Refresh the state of buttons when they are newly created.
This commit is contained in:
@@ -68,6 +68,9 @@ function ActionBar:UpdateButtons(numbuttons)
|
|||||||
|
|
||||||
-- need to re-set clickthrough after creating new buttons
|
-- need to re-set clickthrough after creating new buttons
|
||||||
self:SetClickThrough()
|
self:SetClickThrough()
|
||||||
|
|
||||||
|
-- Also need to re-apply state fun to the new buttons, just to be sure.
|
||||||
|
self:UpdateStates()
|
||||||
end
|
end
|
||||||
|
|
||||||
function ActionBar:SkinChanged(...)
|
function ActionBar:SkinChanged(...)
|
||||||
|
|||||||
Reference in New Issue
Block a user