mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixes mouse_input event not being pushed everytime
This commit is contained in:
parent
ead469a411
commit
c0c92c4259
@ -523,8 +523,8 @@ impl Window {
|
||||
state == glutin::ElementState::Pressed,
|
||||
));
|
||||
}
|
||||
events.push(Event::MouseButton(button, state));
|
||||
}
|
||||
events.push(Event::MouseButton(button, state));
|
||||
},
|
||||
glutin::WindowEvent::KeyboardInput { input, .. } => {
|
||||
if let Some(key) = input.virtual_keycode {
|
||||
|
Loading…
Reference in New Issue
Block a user