From 1c23a17ee49b6dd606fceb2f90cdb5e08bb56efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Fri, 2 Sep 2022 23:16:37 +0200 Subject: [PATCH] Fix hotkeys (scroll regions) not working in editor --- src/game/editor/editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 43413c940..33693cadf 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -6303,6 +6303,9 @@ void CEditor::OnUpdate() Reset(); } + for(int i = 0; i < Input()->NumEvents(); i++) + UI()->OnInput(Input()->GetEvent(i)); + // handle cursor movement { static float s_MouseX = 0.0f;