From fd4b2fd341d2817a7312ff2863053d4a4826c3d5 Mon Sep 17 00:00:00 2001 From: Jonas Kappa Date: Thu, 11 Sep 2025 17:52:11 +0200 Subject: [PATCH] Some design fixes --- src/lib/Scoreboard.svelte | 2 +- src/routes/connected/games/[game]/+page.svelte | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/Scoreboard.svelte b/src/lib/Scoreboard.svelte index 99a22ed..cde5d63 100644 --- a/src/lib/Scoreboard.svelte +++ b/src/lib/Scoreboard.svelte @@ -44,7 +44,7 @@ {player.points} {/if} - {player.name} + {player.name} {/each} diff --git a/src/routes/connected/games/[game]/+page.svelte b/src/routes/connected/games/[game]/+page.svelte index 0aa65b8..ba27b06 100644 --- a/src/routes/connected/games/[game]/+page.svelte +++ b/src/routes/connected/games/[game]/+page.svelte @@ -68,8 +68,6 @@ public answerIsShowing = $state(false); public questionIsShowing = $state(false); - public pointsGivenForCurrentQuestion = $state(false); - constructor(game: Game) { this.game = game; } @@ -190,7 +188,6 @@ } else { player.points += this.question.points; } - this.pointsGivenForCurrentQuestion = true; this.sendPlayers(); } @@ -212,7 +209,6 @@ setupGoingBack(): void { this.answerIsShowing = false; this.questionIsShowing = false; - this.pointsGivenForCurrentQuestion = false; } finishQuestion(): void { @@ -350,7 +346,7 @@

Type of question unknown

{/if} -
+
{#if gameManager.questionIsShowing}