In the OnHide script for the MainPanel: Remove the VISIBLE and RELEVANT flags from all recipes.
James D. Callahan III [04-02-10 - 04:10]
In the OnHide script for the MainPanel: Remove the VISIBLE and RELEVANT flags from all recipes.
diff --git a/Frame.lua b/Frame.lua
index d6f88e9..e0e82d2 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -941,6 +941,10 @@ MainPanel.title_bar:SetJustifyH("CENTER")
-------------------------------------------------------------------------------
MainPanel:SetScript("OnHide",
function(self)
+ for spell_id, recipe in pairs(private.recipe_list) do
+ recipe:RemoveState("RELEVANT")
+ recipe:RemoveState("VISIBLE")
+ end
addon:ClosePopups()
end)