Further cleanup and seperation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user