save manage scr

This commit is contained in:
minjaesong
2023-07-08 16:12:15 +09:00
parent 1f6fa49d19
commit 211f936bd3
6 changed files with 114 additions and 54 deletions

View File

@@ -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) {