add ChatFrame Stratafix into the addon
This commit is contained in:
parent
b2211d8689
commit
940fd2e5f9
2 changed files with 11 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue