Skip to content

Commit cbbcb30

Browse files
committed
getting ready for release. Some minor bugfixing
1 parent 6bafe47 commit cbbcb30

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

MidnightSimpleUnitFrames/MidnightSimpleUnitFrames.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: Midnight Simple UnitFrames
33
## Notes: Unitframe Addon by Mapko
44
## Author: Mapkó
5-
## Version: 1.85b1
5+
## Version: 1.85r1
66
## Category: Combat
77
## SavedVariables: MSUF_Config
88
## SavedVariables: MSUF_DB, MSUF_GlobalDB

MidnightSimpleUnitFrames/MidnightSimpleUnitFrames_Auras.lua

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2314,6 +2314,13 @@ local function UpdateAnchor(entry, shared, offX, offY, boxW, boxH, layoutModeOve
23142314
end
23152315
end
23162316

2317+
-- Private Auras: position is independent from the main Buff/Debuff containers.
2318+
-- Apply it here so early-returns (e.g. STACKED) never skip privateOffsetX/privateOffsetY.
2319+
if entry.private then
2320+
entry.private:ClearAllPoints()
2321+
entry.private:SetPoint("BOTTOMLEFT", entry.anchor, "BOTTOMLEFT", privOffX, privOffY)
2322+
end
2323+
23172324
local mode = layoutModeOverride or (shared.layoutMode or "SEPARATE")
23182325

23192326
-- Mixed single-row layout: use one shared container (entry.mixed)
@@ -2330,7 +2337,7 @@ local function UpdateAnchor(entry, shared, offX, offY, boxW, boxH, layoutModeOve
23302337

23312338
if entry.private then
23322339
entry.private:ClearAllPoints()
2333-
entry.private:SetPoint("BOTTOMLEFT", entry.mixed, "BOTTOMLEFT", privOffX, iconSize + spacing + privOffY)
2340+
entry.private:SetPoint("BOTTOMLEFT", entry.anchor, "BOTTOMLEFT", privOffX, privOffY)
23342341
end
23352342
return
23362343
end
@@ -2431,11 +2438,10 @@ local function UpdateAnchor(entry, shared, offX, offY, boxW, boxH, layoutModeOve
24312438
entry.mixed:SetPoint("BOTTOMLEFT", entry.anchor, "BOTTOMLEFT", 0, 0)
24322439
end
24332440

2434-
-- Private Aura row is always positioned one row above the primary aura row.
2441+
-- Private Aura row (independent)
24352442
if entry.private then
2436-
local ref = entry.buffs or entry.anchor
24372443
entry.private:ClearAllPoints()
2438-
entry.private:SetPoint("BOTTOMLEFT", ref, "BOTTOMLEFT", privOffX, iconSize + spacing + privOffY)
2444+
entry.private:SetPoint("BOTTOMLEFT", entry.anchor, "BOTTOMLEFT", privOffX, privOffY)
24392445
end
24402446

24412447
end

MidnightSimpleUnitFrames/MidnightSimpleUnitFrames_SlashMenu.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3001,7 +3001,7 @@ local function MSUF_SelectCastbarSubPage(unitKey)
30013001
end
30023002

30033003
local MIRROR_PAGES = {
3004-
home = { title = "Midnight Simple Unitframes (Beta Version Version 1.85)", nav = "Dashboard", build = nil },
3004+
home = { title = "Midnight Simple Unitframes (Version 1.85r1)", nav = "Dashboard", build = nil },
30053005
main = { title = "MSUF Options", nav = "Options", build = MSUF_EnsureMainOptionsPanelBuilt,
30063006
select = function(subkey)
30073007
if not subkey then return end

MidnightSimpleUnitFrames_Castbars/MidnightSimpleUnitFrames_Castbars.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: Midnight Simple UnitFrames - Castbars
33
## Notes: Castbar LoD for MSUF
44
## Author: Midnight
5-
## Version: 1.85b1
5+
## Version: 1.85r1
66
## Category: Combat
77
## Dependencies: MidnightSimpleUnitFrames
88
## LoadOnDemand: 1

0 commit comments

Comments
 (0)