From 665360d3ef9c741d34cd2d55a58041f5478a5d6b Mon Sep 17 00:00:00 2001
From: Pandipipas <62224708+Pandipipas@users.noreply.github.com>
Date: Fri, 13 Feb 2026 00:38:07 +0100
Subject: [PATCH] Add underlined preview selectors between images and score
---
.../example/components/ScoreboardPanel.vue | 306 ++++++++++++++++++
1 file changed, 306 insertions(+)
diff --git a/src/dashboard/example/components/ScoreboardPanel.vue b/src/dashboard/example/components/ScoreboardPanel.vue
index ebf0e56..cc4cba1 100644
--- a/src/dashboard/example/components/ScoreboardPanel.vue
+++ b/src/dashboard/example/components/ScoreboardPanel.vue
@@ -52,6 +52,9 @@ const rightCharacterImage = computed(() => {
return match?.image ?? '';
});
+const leftPanelImage = computed(() => leftCharacterImage.value);
+const rightPanelImage = computed(() => rightCharacterImage.value);
+
const normalizeName = (value: string) => value.trim().toLowerCase();
@@ -386,6 +389,14 @@ const onRightSelect = (playerId: string) => {
applyRightPlayerData(playerId);
};
+const adjustLeftScore = (delta: number) => {
+ scoreboardStore.leftScore = Math.max(0, scoreboardStore.leftScore + delta);
+};
+
+const adjustRightScore = (delta: number) => {
+ scoreboardStore.rightScore = Math.max(0, scoreboardStore.rightScore + delta);
+};
+
const createPlayerId = (name: string) => {
const base = name
.trim()
@@ -630,6 +641,162 @@ watch(
+
+
+