Originally Posted by Nibelheim
The Blizz Raid Frames still appeared after going into the Interface Options window then leaving the Interface Options window...
|
Weird. I've never seen that happen. Try adding:
Code:
local function HideSafely(f) if not InCombatLockdown() then f:Hide() end
CompactRaidFrameContainer:HookScript("OnShow", HideSafely)
CompactRaidFrameManager:HookScript("OnShow", HideSafely)
If they even appear while opening the Interface Options in combat, you might need to add a frame to listen for the end of combat and hide them.
Code:
local combatHider = CreateFrame("Frame")
combatHider:SetScript("OnEvent", function(f, e)
if InCombatLockdown() then return end
CompactRaidFrameContainer:Hide()
CompactRaidFrameManager:Hide()
f:UnregisterEvent(e)
end
local function HideSafely(f)
if InCombatLockdown() then
combatHider:RegisterEvent("PLAYER_REGEN_ENABLED")
else
-- maybe do f:SetAlpha(0) here, though it will still be clickable...
f:Hide()
end
end
CompactRaidFrameContainer:HookScript("OnShow", HideSafely)
CompactRaidFrameManager:HookScript("OnShow", HideSafely)
Originally Posted by VincentSDSH
... how many addons have issues in 5.2, which are irregularly related to what appears to be timing issues with the server.
|
I currently have 218 items in my AddOns folder, and I haven't seen a real error (eg. not fake taint errors) from anything other than my own addons while I'm doing development. o_O