fix button secure grow direction up

This commit is contained in:
Sumsebrum
2021-06-20 13:15:27 +02:00
parent 43bd5af2cc
commit 50716f3f63
4 changed files with 8 additions and 5 deletions

View File

@ -228,10 +228,10 @@ function Gladdy:UpdateFrame()
if (self.db.growDirection == "TOP") then
if (i == 1) then
button:SetPoint("BOTTOMLEFT", self.frame, "BOTTOMLEFT", leftSize, powerBarHeight)
button.secure:SetPoint("TOPLEFT", button.powerBar, "TOPLEFT")
button.secure:SetPoint("TOPLEFT", button.healthBar, "TOPLEFT")
else
button:SetPoint("BOTTOMLEFT", self.buttons["arena" .. (i - 1)], "TOPLEFT", 0, margin + self.db.bottomMargin)
button.secure:SetPoint("TOPLEFT", button.powerBar, "TOPLEFT")
button.secure:SetPoint("TOPLEFT", button.healthBar, "TOPLEFT")
end
elseif (self.db.growDirection == "BOTTOM") then
if (i == 1) then