Make the colour appear correctly even when it isn't our slot
This commit is contained in:
parent
4821f7a971
commit
af37e3b5f5
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ function changeColour() {
|
||||||
let canLeave = $isHost || name == $myName;
|
let canLeave = $isHost || name == $myName;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="player" style="--colour: {colour};">
|
<div class="player" style="--colour: {colour.hex};">
|
||||||
|
|
||||||
<!-- The player's change Colour button -->
|
<!-- The player's change Colour button -->
|
||||||
{#if $myName == name}
|
{#if $myName == name}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue