mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 04:31:30 +11:00
Add space key for transform reset (#294)
Co-authored-by: Florian Köhler <power-unsealed>
This commit is contained in:
parent
f3d45fc01d
commit
c503973739
|
@ -139,6 +139,9 @@ fn run(
|
|||
* transform;
|
||||
}
|
||||
}
|
||||
Some(VirtualKeyCode::Space) => {
|
||||
transform = Affine::IDENTITY;
|
||||
}
|
||||
Some(VirtualKeyCode::Escape) => {
|
||||
*control_flow = ControlFlow::Exit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue