Add a comment to ClickButton.kt, and another one to ClickBox.kt
This commit is contained in:
parent
d8231aadfb
commit
a417ebe86f
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue