fix: empty slots

This commit is contained in:
Salikh Gurgenidze
2026-01-24 15:28:39 +04:00
parent f9628b7d02
commit e328ad5667
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -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))
+1 -1
View File
@@ -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()