fix cursor unlock on windows

This commit is contained in:
2024-09-17 22:47:39 -04:00
parent b68707b92c
commit c16e67c4c5
3 changed files with 18 additions and 14 deletions

View File

@@ -47,9 +47,9 @@ impl Client<'_> {
}
if self.keep_cursor {
let size = window.inner_size();
window
.set_cursor_position(PhysicalPosition::new(size.width / 2, size.height / 2))
.expect("cursor move");
// window
// .set_cursor_position(PhysicalPosition::new(size.width / 2, size.height / 2))
// .expect("cursor move");
}
// camera orientation