Skip to content

Commit

Permalink
change SetPoint to Point
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunny67 committed Jan 28, 2017
1 parent 1078ef0 commit 73ef52d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ElvUI_RaidMarkers/ElvUI_RaidMarkers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local buttonMap = {
function RM:UpdateBar(first)
if(first) then
self.frame:ClearAllPoints()
self.frame:SetPoint("CENTER")
self.frame:Point("CENTER")
end

if(self.db.orient == "VERTICAL") then
Expand All @@ -103,15 +103,15 @@ function RM:UpdateBar(first)

if(self.db.orient == "VERTICAL") then
if(i == 9) then
button:SetPoint("TOP", 0, -self.db.buttonSpacing)
button:Point("TOP", 0, -self.db.buttonSpacing)
else
button:SetPoint("TOP", prev, "BOTTOM", 0, -self.db.buttonSpacing)
button:Point("TOP", prev, "BOTTOM", 0, -self.db.buttonSpacing)
end
else
if(i == 9) then
button:SetPoint("LEFT", self.db.buttonSpacing, 0)
button:Point("LEFT", self.db.buttonSpacing, 0)
else
button:SetPoint("LEFT", prev, "RIGHT", self.db.buttonSpacing, 0)
button:Point("LEFT", prev, "RIGHT", self.db.buttonSpacing, 0)
end
end
end
Expand Down

0 comments on commit 73ef52d

Please sign in to comment.