Bagnon

Bagnon

122M Downloads

bank does not visually update

Kanegasi opened this issue · 6 comments

commented

When moving items in, out, or within the bank, the items themselves move but do not visually update their position. Closing and opening the bank updates the visuals.

commented

In
Bagnon\components\components.xml

add one line

<Script file="playerSelector.lua"/>
commented

There's already an ownerSelector line, and playerSelector.lua does not exist. I have 7.3.11 installed (marked as beta).

I currently have a workaround in my personal addon which forces Bagnon to act like I opened the bank every time BAG_UPDATE fires:

local f=CreateFrame('frame')

function f.BAG_UPDATE()
	if f.bank==true and Bagnon then
		Bagnon:BANK_OPENED()
	end
end

function f.BANKFRAME_OPENED() f.bank=true end

function f.BANKFRAME_CLOSED() f.bank=false end

f:RegisterEvent('BAG_UPDATE')
f:RegisterEvent('BANKFRAME_OPENED')
f:RegisterEvent('BANKFRAME_CLOSED')
commented

Sorry。
Just add one line 。

<Script file="playerSelector.lua"/> It works fine for me.
commented

Should be fixed via 8c1ab0f

commented

This is happening to me with 8.0.0 on one of my characters (but not all my characters)

Thankfully the code Kanegasi shared when pasted into Bagnon/main.lua fixes the problem.

commented

I may have spoke too soon. Even with the code pasted into main.lua, I'm still having problems getting my bank to update.

I've downgraded to 8.0.0b as that doesn't appear to have any problems. Got it from: http://www.wowinterface.com/downloads/info4459-7.3.11.html#other

So something between 8.0.0b and 8.0.0 has caused the problem.