fix: show bagframes for bank

This commit is contained in:
Salikh Gurgenidze
2025-11-17 23:17:30 +04:00
parent 7eec28f018
commit be24515c4b
10 changed files with 622 additions and 15 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ local nextButtonID = 1
function Guda_GetItemButton(parent)
-- Try to reuse existing button
for _, button in pairs(buttonPool) do
if not button:IsShown() and button:GetParent() == parent then
-- Skip bag slot buttons
if not button.isBagSlot and not button:IsShown() and button:GetParent() == parent then
return button
end
end