mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
save manage scr
This commit is contained in:
@@ -28,7 +28,7 @@ open class UIItemTransitionContainer(
|
||||
|
||||
private val epsilon = 0.001f
|
||||
|
||||
private fun timeToUpdate(index: Int) = true//(currentPosition > index - 1 + epsilon && currentPosition < index + 1 - epsilon)
|
||||
private fun timeToUpdate(index: Int) = (currentPosition > index - 1 + epsilon && currentPosition < index + 1 - epsilon)
|
||||
|
||||
fun requestTransition(target: Int) {
|
||||
if (!transitionOngoing) {
|
||||
|
||||
Reference in New Issue
Block a user