Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from eexsty/issues/fix-press-state
Browse files Browse the repository at this point in the history
fix: change fixed time to 1 millisecond in just pressed check (#7)
  • Loading branch information
axyiee committed Jun 5, 2022
2 parents 7680806 + 3ca2860 commit af574f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/press_state.rs
Expand Up @@ -49,7 +49,7 @@ impl PressState {
} = *self
{
if let Some(instant) = started_pressing_instant {
instant.elapsed().as_millis() <= 75
instant.elapsed().as_millis() <= 1
} else {
true
}
Expand Down

0 comments on commit af574f5

Please sign in to comment.