mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
also in cursor mode
This commit is contained in:
parent
0fd783082d
commit
f44aaee7c7
@ -54,7 +54,7 @@ if (GVAR(useCursorMenu)) then {
|
|||||||
}];
|
}];
|
||||||
// handles LMB in cursor mode when action on keyrelease is disabled
|
// handles LMB in cursor mode when action on keyrelease is disabled
|
||||||
((finddisplay 91919) displayctrl 91921) ctrlAddEventHandler ["MouseButtonDown", {
|
((finddisplay 91919) displayctrl 91921) ctrlAddEventHandler ["MouseButtonDown", {
|
||||||
if !(GVAR(actionOnKeyRelease)) then {
|
if (!GVAR(actionOnKeyRelease) && GVAR(actionSelected)) then {
|
||||||
[GVAR(openedMenuType),true] call FUNC(keyUp);
|
[GVAR(openedMenuType),true] call FUNC(keyUp);
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
Loading…
Reference in New Issue
Block a user