Make the colour appear correctly even when it isn't our slot

This commit is contained in:
Oliver Akins 2022-03-13 18:30:33 -06:00
parent 4821f7a971
commit af37e3b5f5
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -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}