From e328ad56674249844caf93055c4a1e365b3252d0 Mon Sep 17 00:00:00 2001 From: Salikh Gurgenidze Date: Sat, 24 Jan 2026 15:28:39 +0400 Subject: [PATCH] fix: empty slots --- UI/BankFrame.lua | 2 -- UI/ItemButton.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/UI/BankFrame.lua b/UI/BankFrame.lua index cc98f5b..5a82876 100644 --- a/UI/BankFrame.lua +++ b/UI/BankFrame.lua @@ -782,8 +782,6 @@ function BankFrame:DisplayItems(bankData, isOtherChar, charName) local bankBagParent = self:GetBagParent(bagID) local button = Guda_GetItemButton(bankBagParent) - if button.isBagSlot then break end - button.inUse = true local xPos = x + (col * (buttonSize + spacing)) diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index 8384fb1..e545718 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -4,7 +4,7 @@ local addon = Guda -- Item button pool local buttonPool = {} local nextButtonID = 1 -local BUTTON_POOL_MAX = 350 -- Maximum buttons to create (bags ~80 + bank ~124 + keyring ~96 + buffer) +local BUTTON_POOL_MAX = 500 -- Maximum buttons to create (bags ~80 + bank ~200 + keyring ~96 + buffer for both frames open) -- Get button pool statistics (for /guda perf command) function Guda_GetButtonPoolStats()