Bartender4:
- options to configure self-casting - implement right-click self-cast
This commit is contained in:
@@ -131,6 +131,7 @@ function ActionBar:ApplyConfig(config)
|
||||
if not config.position then initialPosition(self) end
|
||||
|
||||
self:UpdateButtons()
|
||||
self:UpdateSelfCast(true)
|
||||
self:UpdateStates()
|
||||
end
|
||||
|
||||
@@ -214,3 +215,10 @@ function ActionBar:SetGrid(state)
|
||||
self:ForAll("HideGrid", true)
|
||||
end
|
||||
end
|
||||
|
||||
function ActionBar:UpdateSelfCast(nostates)
|
||||
self:ForAll("SetAttribute", "checkselfcast", Bartender4.db.profile.selfcastmodifier and true or nil)
|
||||
if not nostates then
|
||||
self:UpdateStates()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user