Further cleanup and seperation

This commit is contained in:
Hendrik Leppkes
2009-02-24 17:07:28 +01:00
parent 83926efad4
commit fe2cc6f24b
4 changed files with 12 additions and 26 deletions
-4
View File
@@ -295,15 +295,11 @@ function Button:RefreshStateAction(state)
end
end
end
self:UpdateRightClickSelfCast()
end
function Button:UpdateSelfCast()
self:SetAttribute("checkselfcast", Bartender4.db.profile.selfcastmodifier and true or nil)
self:SetAttribute("checkfocuscast", Bartender4.db.profile.focuscastmodifier and true or nil)
end
function Button:UpdateRightClickSelfCast()
self:SetAttribute("unit2", Bartender4.db.profile.selfcastrightclick and "player" or nil)
end