Skip to content

Commit

Permalink
english grammar error
Browse files Browse the repository at this point in the history
  • Loading branch information
qzd1989 committed Jul 4, 2024
1 parent 3989fae commit 557df98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macos/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ unsafe fn convert_native(event_type: &EventType) -> Option<CGEvent> {
convert_native_with_source(event_type, source)
}

///cause all of button events contain coordinate which can be used when they be simulated.
///cause all of button events contain coordinate which can be used when they are be simulated.
///so you don't need this fn when button press/release anymore.
#[allow(dead_code)]
unsafe fn get_current_mouse_location() -> Option<CGPoint> {
Expand Down

0 comments on commit 557df98

Please sign in to comment.