Skip to content

Commit

Permalink
Position tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
greven committed Nov 25, 2020
1 parent 78170b6 commit 2c28fbd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Version 9.3.2:

- Tweak some positioning

### Version 9.3.1:

- Fixes
Expand Down
2 changes: 1 addition & 1 deletion config/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ cfg.units = {
a2 = "BOTTOM",
af = "UIParent",
x = 0,
y = cfg.frames.main.pos.y + 4
y = cfg.frames.main.pos.y
},
health = {
show = true,
Expand Down
3 changes: 1 addition & 2 deletions functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,7 @@ function lum:SetBarTimerAuras(self, frame, numAuras, numRows, size, spacing,
end

local barTimers = lum:CreateBarTimer(self, numAuras, numRows, size, spacing)
barTimers:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2,
cfg.frames.secondary.height + 16)
barTimers:SetPoint(anchor, parent, parentAnchor, posX, posY)
barTimers.initialAnchor = "BOTTOMLEFT"
barTimers["growth-y"] = "UP"

Expand Down
2 changes: 1 addition & 1 deletion units/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local function CreatePlayer(self)
"BOTTOMRIGHT", nil, "UP", true)

lum:SetBarTimerAuras(self, frame, 12, 12, 24, 2, "BOTTOMLEFT", self,
"TOPLEFT", -2, cfg.frames.secondary.height + 20,
"TOPLEFT", -2, cfg.frames.secondary.height + 32,
"BOTTOMLEFT", "UP")
end

Expand Down
2 changes: 1 addition & 1 deletion units/target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local function CreateTarget(self)
"RIGHT", "DOWN", true)

lum:SetBarTimerAuras(self, frame, 12, 12, 24, 2, "BOTTOMLEFT", self,
"TOPLEFT", -2, cfg.frames.secondary.height + 20,
"TOPLEFT", -2, cfg.frames.secondary.height + 32,
"BOTTOMLEFT", "UP")
end

Expand Down

0 comments on commit 2c28fbd

Please sign in to comment.