File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/utils Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11package top.yukonga.miuix.kmp.utils
22
33import androidx.compose.animation.AnimatedVisibility
4- import androidx.compose.animation.core.Spring
54import androidx.compose.animation.core.spring
65import androidx.compose.animation.core.tween
76import androidx.compose.animation.fadeIn
@@ -118,15 +117,15 @@ class MiuixPopupUtil {
118117 modifier = Modifier .zIndex(2f ).fillMaxSize(),
119118 enter = if (largeScreen.invoke().value) {
120119 fadeIn(
121- animationSpec = spring(0.8f , Spring . StiffnessMediumLow ),
120+ animationSpec = spring(0.9f , 900f ),
122121 ) + scaleIn(
123122 initialScale = 0.8f ,
124- animationSpec = spring(0.8f , Spring . StiffnessMediumLow ),
123+ animationSpec = spring(0.73f , 900f ),
125124 )
126125 } else {
127126 slideInVertically(
128127 initialOffsetY = { fullHeight -> fullHeight },
129- animationSpec = spring(0.88f , Spring . StiffnessMediumLow )
128+ animationSpec = spring(0.92f , 500f )
130129 )
131130 },
132131 exit = if (largeScreen.invoke().value) {
You can’t perform that action at this time.
0 commit comments