From 0ad8e61c0cbc2c8464c53bc7418f2fe29e9d57a6 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 25 Sep 2023 16:30:17 +0600 Subject: [PATCH] one more improvement --- WebApp/src/jsMain/kotlin/main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebApp/src/jsMain/kotlin/main.kt b/WebApp/src/jsMain/kotlin/main.kt index 774ccbf..1d35337 100644 --- a/WebApp/src/jsMain/kotlin/main.kt +++ b/WebApp/src/jsMain/kotlin/main.kt @@ -180,7 +180,7 @@ fun main() { val hex = Color.Hex("#${r.toString(16)}${g.toString(16)}${b.toString(16)}") webApp.setHeaderColor(hex) (this as? HTMLButtonElement) ?.style ?.backgroundColor = hex.value - textContent = hex.value + textContent = "Header color: ${hex.value.uppercase()} (click to change)" } addEventListener("click", { updateHeaderColor()