Add a comment to ClickButton.kt, and another one to ClickBox.kt

This commit is contained in:
Username404-59 2021-05-11 17:07:54 +02:00
parent d8231aadfb
commit a417ebe86f
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class ClickBox(
(x + width), y + height + 3, (x + width), y + height + 3,
color = color, width = 3, height = clickboxHeightOffset - 6, color = color, width = 3, height = clickboxHeightOffset - 6,
opacity = 0.75F opacity = 0.75F
) { ) { // TODO Fix the progress bar when scrolling a lot
override fun render(poseStack: PoseStack?) { override fun render(poseStack: PoseStack?) {
RenderSystem.disableTexture() RenderSystem.disableTexture()
RenderSystem.enableBlend() RenderSystem.enableBlend()

View File

@ -19,7 +19,7 @@ class ClickButton(
companion object { companion object {
enum class Type { enum class Type {
TOGGLE, TOGGLE,
CLICK CLICK // TODO Fix the CLICK behaviour
} }
internal var lightningFactor: Float = 0.33F internal var lightningFactor: Float = 0.33F
} }