From 1fdedb5785073f1f9507d331611035318e9e9fa2 Mon Sep 17 00:00:00 2001 From: commy2 Date: Wed, 30 Sep 2015 19:29:17 +0200 Subject: [PATCH] delay scroll wheel init --- addons/common/XEH_postInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/common/XEH_postInit.sqf b/addons/common/XEH_postInit.sqf index 87dc71deb2..4bd58ade33 100644 --- a/addons/common/XEH_postInit.sqf +++ b/addons/common/XEH_postInit.sqf @@ -224,8 +224,8 @@ call FUNC(assignedItemFix); GVAR(ScrollWheelFrame) = diag_frameno; ["mainDisplayLoaded", { - call FUNC(handleScrollWheelInit); [{ + call FUNC(handleScrollWheelInit); call FUNC(handleModifierKeyInit); }, [], 0.1] call FUNC(waitAndExecute); // needs delay, otherwise doesn't work without pressing "RESTART" in editor once. Tested in 1.52RC }] call FUNC(addEventHandler);