From 42e8af29430aa42cf3c5f7c257be00095b353817 Mon Sep 17 00:00:00 2001 From: Antonio Lobato Date: Fri, 8 Dec 2023 00:06:42 -0800 Subject: [PATCH] Added support for toggles if combined bag in blizzard UI is selected. --- core/hooks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hooks.lua b/core/hooks.lua index ed3ef907..901e2834 100644 --- a/core/hooks.lua +++ b/core/hooks.lua @@ -10,13 +10,13 @@ addon.backpackShouldClose = false function addon.ForceHideBlizzardBags() for i = 1, NUM_TOTAL_BAG_FRAMES, 1 do - _G["ContainerFrame"..i]:Hide() + CloseBag(i) end end function addon.ForceShowBlizzardBags() for i = 1, NUM_TOTAL_BAG_FRAMES, 1 do - _G["ContainerFrame"..i]:Show() + OpenBag(i) end end