diff --git a/CHANGELOG.md b/CHANGELOG.md index eb03f59..783215b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### Version 9.3.2: + +- Tweak some positioning + ### Version 9.3.1: - Fixes diff --git a/config/defaults.lua b/config/defaults.lua index 64ba9a6..7bbe586 100644 --- a/config/defaults.lua +++ b/config/defaults.lua @@ -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, diff --git a/functions.lua b/functions.lua index 279cce9..4cf084a 100644 --- a/functions.lua +++ b/functions.lua @@ -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" diff --git a/units/player.lua b/units/player.lua index e8e4ef8..7d495c5 100644 --- a/units/player.lua +++ b/units/player.lua @@ -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 diff --git a/units/target.lua b/units/target.lua index 54c537a..78e33c7 100644 --- a/units/target.lua +++ b/units/target.lua @@ -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