diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt index e6e701b..f5d7fa3 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt @@ -33,7 +33,7 @@ class ClickBox( (x + width), y + height + 3, color = color, width = 3, height = clickboxHeightOffset - 6, opacity = 0.75F - ) { + ) { // TODO Fix the progress bar when scrolling a lot override fun render(poseStack: PoseStack?) { RenderSystem.disableTexture() RenderSystem.enableBlend() diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt index ddbbe25..4aeee47 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt @@ -19,7 +19,7 @@ class ClickButton( companion object { enum class Type { TOGGLE, - CLICK + CLICK // TODO Fix the CLICK behaviour } internal var lightningFactor: Float = 0.33F }