(TSM) Suppress Recipe Master window
Closed this issue ยท 1 comments
Auction, Trade, Bank, Vendor, Mailbox events should suppress Recipe Master, I think.
Or else it ends up adding clutter.
Pulled from the check I do in Open Sesame
https://github.com/Gogo1951/Open-Sesame/blob/main/Open-Sesame_Vanilla.lua
-- Function to check if any specified windows or conditions are active
local function WindowOpen()
-- Check for windows like Trade, Merchant, Bank, etc.
return TradeFrame and TradeFrame:IsVisible() or MerchantFrame and MerchantFrame:IsVisible() or
BankFrame and BankFrame:IsVisible() or
(ContainerFrame1 and ContainerFrame1:IsVisible()) or -- Backpack
(ContainerFrame2 and ContainerFrame2:IsVisible()) or -- First bag
(ContainerFrame3 and ContainerFrame3:IsVisible()) or -- Second bag
(ContainerFrame4 and ContainerFrame4:IsVisible()) or -- Third bag
(ContainerFrame5 and ContainerFrame5:IsVisible()) or -- Fourth bag
(GossipFrame and GossipFrame:IsVisible()) or
(AuctionFrame and AuctionFrame:IsVisible()) or
(ReagentBankFrame and ReagentBankFrame:IsVisible()) or
(CraftFrame and CraftFrame:IsVisible()) or
(TradeSkillFrame and TradeSkillFrame:IsVisible()) or
LootFrame and LootFrame:IsVisible() or
MailFrame and MailFrame:IsVisible()
end
Hello, @Gogo1951.
You can now minimize the Recipe Master window at will while TradeSkillMaster is enabled!
Please let me know if this feature gives you the result you were looking for.
And thank you for the suggestion!