Set the base height of the progressbar to 8
This commit is contained in:
parent
7b1aa0f876
commit
8e444c9596
|
@ -41,10 +41,11 @@ class ClickBox(
|
|||
RenderSystem.disableBlend()
|
||||
RenderSystem.enableTexture()
|
||||
}
|
||||
init { height = 8 }
|
||||
}
|
||||
fun scroll(supplied: Double) {
|
||||
with(buttonsProgressBar) {
|
||||
if ((height != 0 || (supplied < 0)) && ((height != originalHeight) || (supplied > 0))) {
|
||||
if ((height != 8 || (supplied < 0)) && ((height != originalHeight) || (supplied > 0))) {
|
||||
height -= supplied.toInt()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue