File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/utils Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ class MiuixPopupUtil {
117117 modifier = Modifier .zIndex(2f ).fillMaxSize(),
118118 enter = if (largeScreen.invoke().value) {
119119 fadeIn(
120- animationSpec = spring(0.9f , 900f ),
120+ animationSpec = spring(0.9f , 900f )
121121 ) + scaleIn(
122122 initialScale = 0.8f ,
123- animationSpec = spring(0.73f , 900f ),
123+ animationSpec = spring(0.73f , 900f )
124124 )
125125 } else {
126126 slideInVertically(
@@ -130,18 +130,15 @@ class MiuixPopupUtil {
130130 },
131131 exit = if (largeScreen.invoke().value) {
132132 fadeOut(
133- animationSpec = tween(200 , easing = DecelerateEasing (1.5f )
134- )
133+ animationSpec = tween(200 , easing = DecelerateEasing (1.5f ))
135134 ) + scaleOut(
136135 targetScale = 0.8f ,
137- animationSpec = tween(200 , easing = DecelerateEasing (1.5f )
138- )
136+ animationSpec = tween(200 , easing = DecelerateEasing (1.5f ))
139137 )
140138 } else {
141139 slideOutVertically(
142140 targetOffsetY = { fullHeight -> fullHeight },
143- animationSpec = tween(200 , easing = DecelerateEasing (1.5f )
144- )
141+ animationSpec = tween(200 , easing = DecelerateEasing (1.5f ))
145142 )
146143 }
147144 ) {
You can’t perform that action at this time.
0 commit comments