ignoring modified clicks for the right click shortcut

This commit is contained in:
Manuel Simon Hirsig
2016-02-27 10:31:22 +01:00
parent d883566ec1
commit 9f64d85fe4
+4 -1
View File
@@ -1,5 +1,5 @@
Aux = { Aux = {
version = '2.5.1', version = '2.5.2',
blizzard_ui_shown = false, blizzard_ui_shown = false,
orig = {}, orig = {},
} }
@@ -286,6 +286,9 @@ function Aux.SetItemRef(itemstring, text, button)
end end
function Aux.UseContainerItem(bag, slot) function Aux.UseContainerItem(bag, slot)
if IsShiftKeyDown() or IsControlKeyDown() or IsAltKeyDown() then
return Aux.orig.UseContainerItem(bag, slot)
end
if AuxSearchFrame:IsVisible() then if AuxSearchFrame:IsVisible() then
local item_info = Aux.info.container_item(bag, slot) local item_info = Aux.info.container_item(bag, slot)