mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pass map gestures draw by reference (#4914)
This commit is contained in:
parent
0c479859af
commit
19e1a1f4c5
@ -22,4 +22,4 @@ if (!isNil QGVAR(DrawMapHandlerID)) then {
|
|||||||
(findDisplay 12 displayCtrl 51) ctrlRemoveEventHandler ["Draw", GVAR(DrawMapHandlerID)];
|
(findDisplay 12 displayCtrl 51) ctrlRemoveEventHandler ["Draw", GVAR(DrawMapHandlerID)];
|
||||||
GVAR(DrawMapHandlerID) = nil;
|
GVAR(DrawMapHandlerID) = nil;
|
||||||
};
|
};
|
||||||
GVAR(DrawMapHandlerID) = findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw", FUNC(drawMapGestures)];
|
GVAR(DrawMapHandlerID) = findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw", {call FUNC(drawMapGestures)}];
|
||||||
|
Loading…
Reference in New Issue
Block a user