Make a ClickBox.buttons a Set instance
This commit is contained in:
parent
b3c7fb1325
commit
833cac5ccd
|
@ -16,7 +16,7 @@ import org.lwjgl.opengl.GL20
|
|||
class ClickBox(
|
||||
x: Double, y: Double,
|
||||
private val name: TranslatableComponent? = null,
|
||||
val buttons: MutableCollection<ClickButton> = mutableListOf()
|
||||
val buttons: MutableCollection<ClickButton> = mutableSetOf()
|
||||
): ColoredElement(x, y, 80, 10, 0x6C9E9D, 0.5F) {
|
||||
@JvmField
|
||||
val scrollBar: ColoredElement = object: ColoredElement(
|
||||
|
|
Loading…
Reference in New Issue