(fix/WeakAuras): Resolve long-standing frame level overflow

Switches frame level assignment to depth-based ordering to avoid overflow
and ensure deterministic ordering. WeakAurasFrame now correctly lives on
FrameStrata MEDIUM without interfering with Blizzard UI elements.

(cherry picked from commit e92edf5700ad70587a71c3a403e5cc672dbc9e8e)
This commit is contained in:
NoM0Re
2025-12-24 23:34:24 -07:00
committed by andrew6180
parent aca47d69fd
commit 1836ba84d8
6 changed files with 38 additions and 48 deletions
-9
View File
@@ -1,9 +0,0 @@
-- Fix FrameStrata of ChatFrame
for i = 1, NUM_CHAT_WINDOWS do
local chatFrame = _G["ChatFrame" .. i]
if chatFrame and type(chatFrame.GetFrameStrata) == "function" and type(chatFrame.SetFrameStrata) == "function" then
if chatFrame:GetFrameStrata() == "BACKGROUND" then
chatFrame:SetFrameStrata("MEDIUM")
end
end
end