diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt index c168605..00b6253 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt @@ -24,7 +24,7 @@ class ClickBox(x: Double, y: Double, private val name: TranslatableComponent? = vertex(x + inclination, y, 0.0).colorEnd() // Render the box: - val fullHeight = (y + height) * 6 + val fullHeight = (y + height) + 80 vertex(x, fullHeight, 0.0).colorEnd() vertex(x + width + inclination, fullHeight, 0.0).colorEnd() vertex(x + width + inclination, y + height, 0.0).colorEnd()