Skip to content

Commit

Permalink
Update crates/bevy_input/src/mouse.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
  • Loading branch information
Aztro-dev and MrGVSV authored Jun 28, 2024
1 parent 1d4c369 commit 8b9bb4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/bevy_input/src/mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ pub fn mouse_button_input_system(
}
}

/// Tracks how much the mouse has moved every frame
/// This resource is reset to zero every frame
/// Tracks how much the mouse has moved every frame.
///
/// This resource is reset to zero every frame.
///
/// This resource sums the total [`MouseMotion`] events received this frame.
#[derive(Resource, Debug, Clone, Copy, PartialEq, Reflect, Default)]
Expand Down

0 comments on commit 8b9bb4b

Please sign in to comment.