mirror of
https://github.com/T8RIN/ImageToolbox.git
synced 2025-08-06 15:49:35 +08:00
bump libs
This commit is contained in:
@ -213,7 +213,10 @@ fun animateShape(
|
||||
dampingRatio = Spring.DampingRatioLowBouncy,
|
||||
stiffness = Spring.StiffnessMediumLow
|
||||
),
|
||||
): Shape = rememberAnimatedShape(targetValue, animationSpec)
|
||||
): Shape = rememberAnimatedShape(
|
||||
currentShape = targetValue,
|
||||
animationSpec = animationSpec
|
||||
)
|
||||
|
||||
@Composable
|
||||
fun shapeByInteraction(
|
||||
@ -251,8 +254,8 @@ fun shapeByInteraction(
|
||||
if (targetShape is RoundedCornerShape) {
|
||||
return key(shape, pressedShape) {
|
||||
rememberAnimatedShape(
|
||||
targetShape,
|
||||
animationSpec,
|
||||
currentShape = targetShape,
|
||||
animationSpec = animationSpec,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user