Make sure to re-apply click-through mode after creating new buttons
This commit is contained in:
@@ -65,6 +65,9 @@ function ActionBar:UpdateButtons(numbuttons)
|
||||
if updateBindings and self.id == "1" then
|
||||
self.module:ReassignBindings()
|
||||
end
|
||||
|
||||
-- need to re-set clickthrough after creating new buttons
|
||||
self:SetClickThrough()
|
||||
end
|
||||
|
||||
function ActionBar:SkinChanged(...)
|
||||
|
||||
@@ -249,6 +249,9 @@ function StanceBar:UpdateStanceButtons()
|
||||
StanceBarMod:ReassignBindings()
|
||||
end
|
||||
self.disabled = (GetNumShapeshiftForms() == 0) and true or nil
|
||||
|
||||
-- need to re-set clickthrough after creating new buttons
|
||||
self:SetClickThrough()
|
||||
end
|
||||
|
||||
function StanceBar:OnEvent(event, ...)
|
||||
|
||||
Reference in New Issue
Block a user