From f88733eda2ae8393e0a262d4e6ad534b14c3f1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kelly=20Crabbe=CC=81?= Date: Wed, 4 Dec 2013 14:33:14 +0100 Subject: [PATCH] changed the function of the right click menu to MouseDown and which buttons to respond to --- rightclick.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rightclick.lua b/rightclick.lua index 120be9a..44c65c0 100755 --- a/rightclick.lua +++ b/rightclick.lua @@ -30,10 +30,10 @@ local menuList = { end}, } -Minimap:SetScript("OnMouseUp", function(self, btn) +Minimap:SetScript("OnMouseDown", function(self, btn) if btn == "RightButton" then ToggleDropDownMenu(1, nil, MiniMapTrackingDropDown, self) - elseif btn == "MiddleButton" then + elseif btn == "LeftButton" and IsShiftKeyDown() then EasyMenu(menuList, menuFrame, "cursor", 0, 0, "MENU", 2) else Minimap_OnClick(self) -- 1.7.9.5