mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +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();
|
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;
|
||||||
|
|
Loading…
Reference in a new issue