Update send test and errors that broke some examples/APIs

This commit is contained in:
Osspial
2018-09-09 00:19:53 -04:00
parent bf7bfa82eb
commit 8ed575ff4a
3 changed files with 6 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ fn main() {
event_loop.run(move |event, _, control_flow| {
use winit::event::ElementState::Released;
use winit::event::VirtualKeyCode::{N, Y};
*control_flow = ControlFlow::Wait;
match event {
Event::WindowEvent { event, .. } => match event {
@@ -71,7 +72,5 @@ fn main() {
},
_ => (),
}
*control_flow = ControlFlow::Wait;
});
}