fix: empty slots
This commit is contained in:
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user