Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
2021-07-04-release-bcc release | 1.85 KB | Jul 5, 2021 | 2.5.1 | 0 | Download |
2021-07-04-release-classic release | 1.85 KB | Jul 5, 2021 | 1.13.7 | 0 | Download |
2021-07-04-release release | 1.85 KB | Jul 5, 2021 | 9.1.0 | 0 | Download |
2018-08-01-release release | 925 Bytes | Aug 1, 2018 | 8.0.1 | 87 | Download |
2017-08-29-release release | 929 Bytes | Aug 29, 2017 | 7.3.0 | 76 | Download |
2017-07-22-release release | 931 Bytes | Jul 22, 2017 | 7.2.5 | 58 | Download |
2016-10-27-release release | 1002 Bytes | Oct 27, 2016 | 7.1.0 | 146 | Download |
2016-08-21-release-3 release | 1.01 KB | Aug 22, 2016 | 7.0.3 | 88 | Download |
2016-08-21-release-2 release | 1014 Bytes | Aug 21, 2016 | 7.0.3 | 61 | Download |
2016-08-21-release release | 969 Bytes | Aug 21, 2016 | 7.0.3 | 60 | Download |
Description
This tiny addon opens the game menu (bound to the “Escape” key by default) in one press. With this, you will only have to press “Escape” once to open the game menu even if you have a target or are casting a spell. It does this by overriding Blizzard’s ToggleGameMenu function with its own, much smaller function. Here’s the code:
ToggleGameMenu = function() if not UIParent:IsShown() then SetUIVisibility(true) end if GameMenuFrame:IsShown() then PlaySound(SOUNDKIT.IG_MAINMENU_QUIT) HideUIPanel(GameMenuFrame) else PlaySound(SOUNDKIT.IG_MAINMENU_OPEN) ShowUIPanel(GameMenuFrame) end end
Add a comment