Bartender4:

- options to configure self-casting
- implement right-click self-cast
This commit is contained in:
Hendrik Leppkes
2008-05-03 12:55:33 +00:00
parent 39f941fdc8
commit 968613450a
6 changed files with 43 additions and 12 deletions
+8
View File
@@ -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