Fix cursor lock panic
This commit is contained in:
parent
4863b7a09d
commit
da94a2220c
1 changed files with 0 additions and 2 deletions
|
@ -31,8 +31,6 @@ pub async fn run() {
|
|||
.expect("Couldn't append canvas to document body.");
|
||||
}
|
||||
|
||||
lock_cursor(&window, true);
|
||||
|
||||
let mut state = State::new(&window).await;
|
||||
let mut last_render = instant::Instant::now();
|
||||
let mut is_focused = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue