improve visibility driver logic and API
This commit is contained in:
@@ -197,18 +197,11 @@ function ActionBar:SkinChanged(...)
|
||||
self:ForAll("Update")
|
||||
end
|
||||
|
||||
function ActionBar:Lock()
|
||||
if self.disabled or not self.unlocked then return end
|
||||
ButtonBar.Lock(self)
|
||||
function ActionBar:SetShow(...)
|
||||
ButtonBar.SetShow(self, ...)
|
||||
self:UpdateStates()
|
||||
end
|
||||
|
||||
function ActionBar:Unlock()
|
||||
if self.disabled or self.unlocked then return end
|
||||
ButtonBar.Unlock(self)
|
||||
self:UpdateStates(true)
|
||||
end
|
||||
|
||||
|
||||
--[[===================================================================================
|
||||
ActionBar Config Interface
|
||||
|
||||
Reference in New Issue
Block a user