Loading packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/content/state/TransitionState.kt +2 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.compose.animation.scene.content.state import androidx.compose.animation.core.Animatable import androidx.compose.animation.core.AnimationVector1D import androidx.compose.animation.core.Spring import androidx.compose.animation.core.spring import androidx.compose.foundation.gestures.Orientation import androidx.compose.runtime.Stable Loading Loading @@ -381,7 +382,7 @@ sealed interface TransitionState { val progressSpec = spring( stiffness = swipeSpec.stiffness, dampingRatio = swipeSpec.dampingRatio, dampingRatio = Spring.DampingRatioNoBouncy, visibilityThreshold = ProgressVisibilityThreshold, ) animatable.animateTo(0f, progressSpec) Loading Loading
packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/content/state/TransitionState.kt +2 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.compose.animation.scene.content.state import androidx.compose.animation.core.Animatable import androidx.compose.animation.core.AnimationVector1D import androidx.compose.animation.core.Spring import androidx.compose.animation.core.spring import androidx.compose.foundation.gestures.Orientation import androidx.compose.runtime.Stable Loading Loading @@ -381,7 +382,7 @@ sealed interface TransitionState { val progressSpec = spring( stiffness = swipeSpec.stiffness, dampingRatio = swipeSpec.dampingRatio, dampingRatio = Spring.DampingRatioNoBouncy, visibilityThreshold = ProgressVisibilityThreshold, ) animatable.animateTo(0f, progressSpec) Loading