WoWInterface SVN GuildBankList

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

GuildBankList/GuildBankList.toc
1,8 → 1,8
## 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
 
GuildBankList/gbl.lua
1,4 → 1,3
print("GBL loaded!")
local GBLnametexts = {}
local GBLilvltexts = {}
local GBLtypetexts = {}
146,11 → 145,15
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