Shift right click to select amount not working in Guild bank
JimGiordano2 opened this issue ยท 6 comments
Running Software (please complete the following information):
- Game patch Build 8.0.1.27326
- Addon version 8.0.2
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Open guild bank
- Hold down shift
- Right click on a stack of items
- The option to select how many does not appear
Expected behavior
The standard option to select some amount of items from the stack should appear.
In Bagnon_GuildBank\components\Item.lua line 40.
Change
if IsModifiedClick('SPLITSTACK') then
if not self:GetInfo().locked then
self.SplitStack = ItemSlot.SplitStack -- have no idea why is necessary
OpenStackSplitFrame(select(2, self:GetInfo()), self, 'BOTTOMLEFT', 'TOPLEFT')
to
if IsModifiedClick('SPLITSTACK') then
if not self.IsLocked then
self.SplitStack = ItemSlot.SplitStack -- have no idea why is necessary
OpenStackSplitFrame(self.count, self, 'BOTTOMLEFT', 'TOPLEFT',1)
This seems to work for me.
This has to be modified now aswell. OpenStackSplitFrame has to be called on the StackSplitFrame Object:
StackSplitFrame:OpenStackSplitFrame...
@SEmecan where do you change it and exactly what do I put
@Elaytrix apply what Sinswrath posted but change the last line from
OpenStackSplitFrame(self.count, self, 'BOTTOMLEFT', 'TOPLEFT',1)
to
StackSplitFrame:OpenStackSplitFrame(self.count, self, 'BOTTOMLEFT', 'TOPLEFT',1)
I'm following this problem because it seems that i have the same problem.
I tried to do the same manipulation above without bagnon activated, and split item works.