Levelauswahl: Fortschrittssymbole vergrößern
This commit is contained in:
parent
3b3111b5de
commit
5f9d9643e5
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
// Bester Versuch → sein Stufen-Symbol (statt Krone).
|
||||
const SYMBOL: Record<number, { c: typeof Balloon; size: number }> = {
|
||||
0: { c: Ground, size: 40 },
|
||||
1: { c: Balloon, size: 34 },
|
||||
2: { c: Cloud, size: 48 },
|
||||
3: { c: Moon, size: 38 },
|
||||
4: { c: Star, size: 36 },
|
||||
0: { c: Ground, size: 60 },
|
||||
1: { c: Balloon, size: 52 },
|
||||
2: { c: Cloud, size: 72 },
|
||||
3: { c: Moon, size: 56 },
|
||||
4: { c: Star, size: 52 },
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
{#if runs > 0}
|
||||
{#if bestStage === 2}
|
||||
<!-- Auf der hellen Karte braucht die Wolke Farbe/Kontur, sonst weiß auf weiß. -->
|
||||
<Cloud size={50} fill="#cfe2ff" stroke="#7e97c4" />
|
||||
<Cloud size={72} fill="#cfe2ff" stroke="#7e97c4" />
|
||||
{:else}
|
||||
{@const Best = SYMBOL[bestStage].c}
|
||||
<Best size={SYMBOL[bestStage].size} />
|
||||
|
|
@ -62,6 +62,6 @@
|
|||
.best {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 48px;
|
||||
min-height: 72px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user