Revert "Edit a condition of the scroll function in ClickBox.kt"
This reverts commit 0d2e67133c57bcf5c7cc4d9dfdd4e9208bb109f6.
This commit is contained in:
parent
b2d957f2c9
commit
290f521c82
|
@ -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 in 1 downTo 0) barStage = it
|
||||
if (it > 0) barStage = it
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue