diff --git a/examples/with_winit/src/lib.rs b/examples/with_winit/src/lib.rs index c7d8d4f..34606cc 100644 --- a/examples/with_winit/src/lib.rs +++ b/examples/with_winit/src/lib.rs @@ -139,6 +139,9 @@ fn run( * transform; } } + Some(VirtualKeyCode::Space) => { + transform = Affine::IDENTITY; + } Some(VirtualKeyCode::Escape) => { *control_flow = ControlFlow::Exit; }