From a023f93b8766e2eb26407685a37ad954158d94a7 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 14 May 2021 23:42:46 +0200 Subject: [PATCH] Remove a reference to ButtonInfo --- .../kotlin/fr/username404/snowygui/gui/feature/ButtonImpl.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonImpl.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonImpl.kt index 448b608..5c83069 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonImpl.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonImpl.kt @@ -59,10 +59,8 @@ abstract class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) { toggled = it } } - ButtonInfo ClickGui.components.filterIsInstance().find { it.name!!.key == info.parent.translationKey }?.buttons!!.add(this) } } -