Skip to content

Commit

Permalink
set locales and default wrapAt
Browse files Browse the repository at this point in the history
  • Loading branch information
jordonwow committed Jul 19, 2023
1 parent 36ca916 commit ab1c131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ function BigDebuffs:AddBigDebuffs(frame)

frame.BigDebuffs = frame.BigDebuffs or {}
local max = self.db.profile.raidFrames.maxDebuffs + 1 -- add a frame for warning debuffs
local wrapAt = self.db.profile.raidFrames.wrapAt
local wrapAt = self.db.profile.raidFrames.wrapAt or 10
for i = 1, max do
local big = frame.BigDebuffs[i] or
CreateFrame("Button", frameName .. "BigDebuffsRaid" .. i, frame, "BigDebuffsDebuffTemplate")
Expand All @@ -1309,7 +1309,7 @@ function BigDebuffs:AddBigDebuffs(frame)
big:SetPoint("BOTTOMRIGHT", frame.BigDebuffs[1], "TOPRIGHT", 0,1)
elseif self.db.profile.raidFrames.anchor == "BOTTOM" then
big:SetPoint("TOPLEFT", frame.BigDebuffs[1], "BOTTOMLEFT", 0, -1)
end
end
else
if self.db.profile.raidFrames.anchor == "INNER" then
big:SetPoint("BOTTOMLEFT", frame.debuffFrames[1], "BOTTOMLEFT", 0, 0)
Expand Down
2 changes: 2 additions & 0 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,5 @@ L["Relative Point"] = true
L["Relative point to attach the BigDebuffs frames"] = true
L["Match Frame Height"] = true
L["Match the height of the frame"] = true
L["Wrap After"] = true
L["Begin a new row or column after this many debuffs"] = true

0 comments on commit ab1c131

Please sign in to comment.