Don't multiply the full height in ClickBox.kt
This commit is contained in:
parent
941a6143c0
commit
c06535047c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue