Skip to content

Commit

Permalink
run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickChodowski committed Jun 21, 2024
1 parent 05b89aa commit 8d40d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn update_input(
joystick_state.just_released = true;
} else if let Some(touch_state) = &mut joystick_state.touch_state {
if touch_state.is_mouse {
if let Some(new_current) = q_windows.single().cursor_position(){
if let Some(new_current) = q_windows.single().cursor_position() {
if new_current != touch_state.current {
touch_state.current = new_current;
}
Expand Down

0 comments on commit 8d40d5d

Please sign in to comment.