forked from StrafesNET/strafe-client
styling
This commit is contained in:
parent
c47020c149
commit
79262ce3b4
@ -877,7 +877,7 @@ impl framework::Example for GraphicsData {
|
||||
57=>Some(InputInstruction::Jump(s)),//Space
|
||||
44=>Some(InputInstruction::Zoom(s)),//Z
|
||||
19=>if s{Some(InputInstruction::Reset)}else{None},//R
|
||||
1 => {
|
||||
01=>{//Esc
|
||||
if s{
|
||||
self.manual_mouse_lock=false;
|
||||
match window.set_cursor_grab(winit::window::CursorGrabMode::None){
|
||||
@ -919,8 +919,7 @@ impl framework::Example for GraphicsData {
|
||||
None
|
||||
},
|
||||
_ => {println!("scancode {}",keycode);None},
|
||||
}
|
||||
{
|
||||
}{
|
||||
self.physics.run(time);
|
||||
self.physics.process_instruction(TimedInstruction{
|
||||
time,
|
||||
|
Loading…
Reference in New Issue
Block a user