forked from StrafesNET/strafe-client
fix key repeats
This commit is contained in:
parent
dd0b8fd1f0
commit
fff4b7a09d
@ -1098,7 +1098,7 @@ impl framework::Example for GlobalState {
|
|||||||
//recalculate pressed keys on focus
|
//recalculate pressed keys on focus
|
||||||
},
|
},
|
||||||
winit::event::WindowEvent::KeyboardInput{
|
winit::event::WindowEvent::KeyboardInput{
|
||||||
event:winit::event::KeyEvent{state, logical_key,..},
|
event:winit::event::KeyEvent{state,logical_key,repeat:false,..},
|
||||||
..
|
..
|
||||||
}=>{
|
}=>{
|
||||||
let s=match state {
|
let s=match state {
|
||||||
|
Loading…
Reference in New Issue
Block a user