BankItems

47 - Add additional clicking options for BankItems Broker

What does the provided patch do?
Adds 2 additional clicking options to the Broker icon to open either the VoidStorage or Reagent Bank w/o opening the main BankItems Frame.
Please provide any additional information below.

--- BankItems/BankItems.lua	2014-11-04 00:24:23.546875000 -0700
+++ BankItems-Updated/BankItems.lua	2014-11-04 00:21:33.250000000 -0700
@@ -3138,6 +3138,10 @@ function BankItems_Initialize2()
 			OnClick = function(clickedframe, button)
 				if IsShiftKeyDown() then
 					BankItems_DisplayGuildBank()
+				elseif IsAltKeyDown() then
+					BankItems_DisplayReagentBank()
+				elseif IsControlKeyDown() then
+					BankItems_DisplayVoidStorage()
 				else
 					BankItems_SlashHandler()
 				end
@@ -3162,6 +3166,8 @@ function BankItems_Initialize2()
 				tt:AddDoubleLine("|cffffff00"..L["Total"], "|cffffffff"..BankItems_GetCoinTextureString(total))
 				tt:AddLine(L["|cffeda55fClick|r to toggle BankItems"])
 				tt:AddLine(L["|cffeda55fShift-Click|r to toggle BankItems Guild Bank"])
+				tt:AddLine(L["|cffeda55fCtrl-Click|r to toggle BankItems Void Storage"])
+				tt:AddLine(L["|cffeda55fAlt-Click|r to toggle BankItems Reagent Bank"])
 			end,
 		})
 	end
User When Change
shadowtreedruid Nov 04, 2014 at 07:42 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Reported
Nov 04, 2014
Status
New - Issue has not had initial review yet.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees