Edit a condition of the scroll function in ClickBox.kt
This commit is contained in:
parent
6539e25854
commit
b2d957f2c9
|
@ -51,7 +51,7 @@ class ClickBox(
|
|||
if ((height != 8 || (supplied < 0)) && ((height != originalHeight) || (supplied > 0))) {
|
||||
height -= supplied.toInt()
|
||||
if (buttons.isNotEmpty()) (height / 8).let {
|
||||
if (it > 0) barStage = it
|
||||
if (it in 1 downTo 0) barStage = it
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue