Fix hotkeys (scroll regions) not working in editor

This commit is contained in:
Robert Müller 2022-09-02 23:16:37 +02:00
parent cc7fbe275c
commit 1c23a17ee4

View file

@ -6303,6 +6303,9 @@ void CEditor::OnUpdate()
Reset(); Reset();
} }
for(int i = 0; i < Input()->NumEvents(); i++)
UI()->OnInput(Input()->GetEvent(i));
// handle cursor movement // handle cursor movement
{ {
static float s_MouseX = 0.0f; static float s_MouseX = 0.0f;