clippy fixes
This commit is contained in:
parent
a4e56e8d58
commit
f6b0754570
8 changed files with 49 additions and 75 deletions
|
@ -52,7 +52,7 @@ pub async fn run() {
|
|||
}
|
||||
WindowEvent::Focused(focused) => {
|
||||
window
|
||||
.set_cursor_grab(if *focused == true {
|
||||
.set_cursor_grab(if *focused {
|
||||
winit::window::CursorGrabMode::Confined
|
||||
} else {
|
||||
winit::window::CursorGrabMode::None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue