Fixing the statusbar color for the player breakdown window not showing on 10.0
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
_detalhes.BFACORE = 131 --core version on BFA launch
|
||||
_detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch
|
||||
|
||||
_detalhes.dragonflight_beta_version = 22
|
||||
_detalhes.dragonflight_beta_version = 23
|
||||
|
||||
Details = _detalhes
|
||||
|
||||
@@ -1010,3 +1010,15 @@ do
|
||||
_G ["BINDING_NAME_DETAILS_BOOKMARK10"] = format (Loc ["STRING_KEYBIND_BOOKMARK_NUMBER"], 10)
|
||||
|
||||
end
|
||||
|
||||
if (select(4, GetBuildInfo()) >= 100000) then
|
||||
local f = CreateFrame("frame")
|
||||
f:RegisterEvent("ADDON_ACTION_FORBIDDEN")
|
||||
f:SetScript("OnEvent", function()
|
||||
local text = StaticPopup1 and StaticPopup1.text and StaticPopup1.text:GetText()
|
||||
if (text and text:find("Details")) then
|
||||
--fix false-positive taints that are being attributed to random addons
|
||||
StaticPopup1.button2:Click()
|
||||
end
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user