From acf788eb52adba82c5d8dc45008ea1ae74d46f9b Mon Sep 17 00:00:00 2001 From: Flynn Date: Thu, 2 May 2024 10:19:17 -0400 Subject: [PATCH] [gui] Only show the user in grey if it's "unknown". Signed-off-by: Flynn --- assets/html/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/html/index.html b/assets/html/index.html index 1f3ca29..122b931 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -337,7 +337,13 @@

Faces

} start() { - this.userDiv.innerHTML = `User: ${this.user}` + let color = "#000000"; + + if (this.user == "unknown") { + color = Cell.colors.grey; + } + + this.userDiv.innerHTML = `User: ${this.user}` } // stop() {