Commit 6d963577 authored by Ivaria's avatar Ivaria
Browse files

Make menu command able to be key bound even when using Clique compat mode

parent 0484298f
......@@ -293,11 +293,14 @@ end
local tModi;
local tKey;
function VuhDoActionPreClick(aButton, aMouseButton)
if VUHDO_CONFIG["IS_CLIQUE_COMPAT_MODE"] then return; end
tModi = VUHDO_getCurrentKeyModifierString();
tKey = VUHDO_SPELL_ASSIGNMENTS[tModi .. SecureButton_GetButtonSuffix(aMouseButton)];
-- allow VuhDo menu command to be bound even when using Clique compat mode
if VUHDO_CONFIG["IS_CLIQUE_COMPAT_MODE"] and tKey and strlower(tKey[3]) ~= "menu" then
return;
end
if tKey and strlower(tKey[3]) == "menu" then
if not InCombatLockdown() then
VUHDO_disableActions(aButton);
......
......@@ -29,6 +29,7 @@ Improvements:
-- Added new bouquets for excess and total absorbtion percentages
-- Status: Excess Absorption %
-- Status: Total Absorption %
-- The menu command can still be key bound when using Clique compat mode
--------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment