Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Dec 20, 2023
1 parent f7db396 commit 96a4631
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 1.0.6 (2023-12-20)
# 1.0.7 (2023-12-20)

* blinked fixes

Expand Down
14 changes: 7 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ impl App {

fn toggle_blinked_off(&mut self) {
if emom::emomtimer::distance::<_>(
self.round_time.total_seconds(),
self.timer.current_time.total_seconds(),
) >= BLINKED_COUNT
&& self.blinked
self.round_time.total_seconds(),
self.timer.current_time.total_seconds(),
) >= BLINKED_COUNT
&& self.blinked
{
self.blinked = false;
}
}

fn toggle_blinked(&mut self) {
if emom::emomtimer::distance::<_>(
self.round_time.total_seconds(),
self.timer.current_time.total_seconds(),
) < BLINKED_COUNT
self.round_time.total_seconds(),
self.timer.current_time.total_seconds(),
) < BLINKED_COUNT
{
self.blinked = !self.blinked;
}
Expand Down

0 comments on commit 96a4631

Please sign in to comment.