Skip to content

Commit ec1b6d8

Browse files
committed
Fix flat raid frames using party settings instead of raid settings
CreateFrames() and RefreshLayout() were missing the isRaidFrame flag on child frames, causing GetFrameDB() to fall through to party settings.
1 parent be4085f commit ec1b6d8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Changelog.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local addonName, DF = ...
2-
DF.BUILD_DATE = "2026-03-20T12:50:51Z"
2+
DF.BUILD_DATE = "2026-03-20T13:42:15Z"
33
DF.RELEASE_CHANNEL = "alpha"
44
DF.CHANGELOG_TEXT = [===[
55
# DandersFrames Changelog

Features/FlatRaidFrames.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ function FlatRaidFrames:CreateFrames()
483483
if child then
484484
childCount = childCount + 1
485485
child:SetSize(frameWidth, frameHeight)
486+
child.isRaidFrame = true
486487
end
487488
end
488489
DebugPrint("Created", childCount, "child frames, sized to", frameWidth, "x", frameHeight)
@@ -733,11 +734,12 @@ function FlatRaidFrames:RefreshLayout()
733734

734735
DebugPrint("RefreshLayout - resizing children and toggling startingIndex")
735736

736-
-- FIRST: Resize all child frames (needed for proper positioning)
737+
-- FIRST: Resize all child frames and sync isRaidFrame flag (needed for proper positioning)
737738
for i = 1, 40 do
738739
local child = header:GetAttribute("child" .. i)
739740
if child then
740741
child:SetSize(frameWidth, frameHeight)
742+
child.isRaidFrame = true
741743
end
742744
end
743745

0 commit comments

Comments
 (0)