add ChatFrame Stratafix into the addon
This commit is contained in:
+1
-1
@@ -19568,5 +19568,5 @@ globals = {
|
|||||||
"WA_UpdateNineSliceBorders", "SecondsToMinutes", "MinutesToSeconds", "HasTimePassed",
|
"WA_UpdateNineSliceBorders", "SecondsToMinutes", "MinutesToSeconds", "HasTimePassed",
|
||||||
"SecondsFormatterConstants", "ConvertSecondsToUnits", "SecondsToClock",
|
"SecondsFormatterConstants", "ConvertSecondsToUnits", "SecondsToClock",
|
||||||
"MinutesToTime", "FormatShortDate", "NUMBER_ABBREVIATION_DATA", "WeakAurasProfilingReportTitleText",
|
"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)
|
function FrameDeltaLerp(startValue, endValue, amount, elapsed)
|
||||||
return DeltaLerp(startValue, endValue, amount, elapsed);
|
return DeltaLerp(startValue, endValue, amount, elapsed);
|
||||||
end
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user