/trunk
## Interface: 30300 |
## Interface: 40000 |
## Title: GuildBankList |
## Author: Seerah |
## Notes: The guild bank in list form. |
## Version: 0.1 |
## Version: 1.0 |
## LoadOnDemand: 1 |
## LoadWith: Blizzard_GuildBankUI |
print("GBL loaded!") |
local GBLnametexts = {} |
local GBLilvltexts = {} |
local GBLtypetexts = {} |
end |
end |
local prevtab |
gbl:SetScript("OnEvent", function(self,event) |
gbl:SetVerticalScroll(1) |
local tab = GetCurrentGuildBankTab() |
if tab ~= prevtab then --only scroll to top if changing tabs, not when working with items |
gbl:SetVerticalScroll(1) |
print("scrolled to top") |
prevtab = tab |
end |
gbl:Show() |
local tab = GetCurrentGuildBankTab() |
for i=1,98 do |
UpdateTexts(tab, i) |
end |