mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 20:31:29 +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;
|
* transform;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Some(VirtualKeyCode::Space) => {
|
||||||
|
transform = Affine::IDENTITY;
|
||||||
|
}
|
||||||
Some(VirtualKeyCode::Escape) => {
|
Some(VirtualKeyCode::Escape) => {
|
||||||
*control_flow = ControlFlow::Exit;
|
*control_flow = ControlFlow::Exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue