delay scroll wheel init

This commit is contained in:
commy2 2015-09-30 19:29:17 +02:00
parent 75d1ea7df3
commit 1fdedb5785

View File

@ -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);