forked from StrafesNET/strafe-client
fix key repeats
This commit is contained in:
parent
dd0b8fd1f0
commit
fff4b7a09d
@ -1097,8 +1097,8 @@ impl framework::Example for GlobalState {
|
|||||||
//pause unpause
|
//pause unpause
|
||||||
//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