add ChatFrame Stratafix into the addon

This commit is contained in:
NoM0Re
2025-04-02 10:20:37 +02:00
parent b2211d8689
commit 940fd2e5f9
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -19568,5 +19568,5 @@ globals = {
"WA_UpdateNineSliceBorders", "SecondsToMinutes", "MinutesToSeconds", "HasTimePassed",
"SecondsFormatterConstants", "ConvertSecondsToUnits", "SecondsToClock",
"MinutesToTime", "FormatShortDate", "NUMBER_ABBREVIATION_DATA", "WeakAurasProfilingReportTitleText",
"WeakAurasRealTimeProfiling", "WeakAurasRealTimeProfilingTitleText", "seconds"
"WeakAurasRealTimeProfiling", "WeakAurasRealTimeProfilingTitleText", "seconds", "NUM_CHAT_WINDOWS"
}
+10
View File
@@ -157,3 +157,13 @@ end
function FrameDeltaLerp(startValue, endValue, amount, elapsed)
return DeltaLerp(startValue, endValue, amount, elapsed);
end
-- 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