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