Skip to content

Commit

Permalink
Merge pull request #80 from frizd/develop
Browse files Browse the repository at this point in the history
feat: Add 2 second delay before ending the test (#75)
  • Loading branch information
kraanzu authored Feb 9, 2024
2 parents 89ca8bc + 0526f8b commit b394f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Fixed
- Blind Mode not working (https://github.com/kraanzu/smassh/issues/72)
- [WIP] App crash when cursor buddy finishes the test before you (https://github.com/kraanzu/smassh/issues/78)
- [WIP] Added delay for restrictions because the initial calculation is highly variable (https://github.com/kraanzu/smassh/issues/75)
- Added delay for restrictions because the initial calculation is highly variable (https://github.com/kraanzu/smassh/issues/75)

## 3.1.0

Expand Down
2 changes: 1 addition & 1 deletion smassh/ui/widgets/typing/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def restart(self, force: bool = False) -> None:
self.reset()

def check_restrictions(self) -> None:
if not self.tracker.stats.start_time:
if not self.tracker.stats.start_time or self.tracker.stats.elapsed_time < 1:
return

if min_speed := config_parser.get("min_speed"):
Expand Down

0 comments on commit b394f6c

Please sign in to comment.