Skip to content

Commit

Permalink
Reset time display when getting a new scramble.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Sep 25, 2023
1 parent fe1402b commit cbcc203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/timer.cubing.net/app/TimerApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export class TimerApp {
: 0;

this.scrambleView.clearScramble();
this.controller.reset();
const { currentEvent, awaitedScrambleID } = this;
const scramble = randomScrambleForEvent(this.currentEvent);
this.scrambleCallback(currentEvent, awaitedScrambleID, await scramble);
Expand Down

0 comments on commit cbcc203

Please sign in to comment.