diff --git a/KiwiFarm.lua b/KiwiFarm.lua index dd09247..3f7c0fb 100644 --- a/KiwiFarm.lua +++ b/KiwiFarm.lua @@ -1339,7 +1339,13 @@ addon:SetScript("OnEvent", function(frame, event, name) text = "KiwiFarm", icon = "Interface\\AddOns\\KiwiFarm\\KiwiFarm.tga", registerForAnyClick = true, - func = function() addon:ShowMenu() end, + func = function(_,_,_,_,button) + if button == 'RightButton' then + addon:ShowMenu() + else + UpdateFrameVisibility() + end + end, }) end -- minimap icon