Skip to content

Commit

Permalink
give the moves slide 1 extra second
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 16, 2024
1 parent 8f1bfc9 commit 099d2e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/recap/src/slides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ export const timeSpentPlaying = (r: Recap): VNode => {
};

export const nbMoves = (r: Recap): VNode => {
return slideTag('moves')([
return slideTag(
'moves',
6000,
)([
h('div.recap--massive', [h('strong', animateNumber(r.games.moves)), 'moves played']),
h('div', [
h('p', ["That's ", h('strong', showGrams(r.games.moves * pieceGrams)), ' of wood pushed!']),
Expand Down

0 comments on commit 099d2e1

Please sign in to comment.