mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix hotkeys (scroll regions) not working in editor
This commit is contained in:
parent
cc7fbe275c
commit
1c23a17ee4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue