From 9530100ca3a62e5b5eeefa22d31c0a98ff418ac0 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sat, 15 May 2021 00:11:35 +0200 Subject: [PATCH] Edit the second argument of the Category enum class --- .../kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt index 73c79cc..ece7029 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt @@ -18,7 +18,7 @@ annotation class ButtonInfo( CLICK // TODO Fix the CLICK behaviour } } -}; enum class Category(val translationKey: String, val color: Colors) { +}; enum class Category(val translationKey: String, val categoryColor: Colors) { MISC("snowy.clickbox.misc", Colors.BLUE), RISKY("snowy.clickbox.risky", Colors.RED); init { ClickGui.components.add(ClickBox(y = 0.0, name = TranslatableComponent(translationKey))) }