Comments (2)
To fix this: In BagBrother/frames/guild/item.lua
replace the 3 occurrences of self.info.count
with self.info.stackCount
, so the OnClick function will look like this:
function Item:OnClick(button)
if HandleModifiedItemClick(self.info.link) then
return
elseif IsModifiedClick('SPLITSTACK') then
if not CursorHasItem() and not self.info.locked and self.info.stackCount > 1 then
if OpenStackSplitFrame then
OpenStackSplitFrame(self.info.stackCount, self, 'BOTTOMLEFT', 'TOPLEFT')
else
StackSplitFrame:OpenStackSplitFrame(self.info.stackCount, self, 'BOTTOMLEFT', 'TOPLEFT')
end
end
else
local type, amount = GetCursorInfo()
if type == 'money' then
DepositGuildBankMoney(amount)
ClearCursor()
elseif type == 'guildbankmoney' then
DropCursorMoney()
ClearCursor()
elseif button == 'RightButton' then
AutoStoreGuildBankItem(self:GetSlot())
else
PickupGuildBankItem(self:GetSlot())
end
end
end
from bagbrother.
Fixed internally
from bagbrother.
Related Issues (17)
- Does not work with CraftUI tooltips anymore HOT 6
- Searching cached Bank window returns bad results and GetItemLink errors
- Filter generates error
- bad argument #1 to '?' (Usage: local itemLink = C_Item.GetItemLink(itemLocation)) HOT 4
- Wrath Classic IsBattlePayItem method error
- Dropdown.lua HOT 1
- Lua Errors new patch 10.1 HOT 1
- lua error
- lua error on login
- Problem opening bags after pulling in latest changes HOT 2
- Updating/Fixing the Clean up for special bag types
- Not working
- You are not in a raid group -spam HOT 3
- Bags is not translated, a few other notes
- BattlePetTooltip HOT 2
- empty icons for allied race in bagnon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bagbrother.