(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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user