Fix shadow being clipped
This commit is contained in:
1 parent
0baf09cb53
commit
250adb4b33
2 files changed
-4
No files matched your search
@@ -195,8 +195,6 @@ fun FabLayout(
|
||||
val distance = lerp(0, 150 * (size - index) + 50, animatedProgress)
|
||||
placeable.placeRelative(0, -distance, -(size - index).toFloat())
|
||||
}
|
||||
}.graphicsLayer {
|
||||
alpha = animatedProgress
|
||||
},
|
||||
) {
|
||||
Icon(imageVector = imageVector, contentDescription = null)
|
||||
|
||||
@@ -618,7 +618,6 @@ fun GalleryListScreen(lub: ListUrlBuilder, navigator: DestinationsNavigator) = c
|
||||
.graphicsLayer {
|
||||
scaleX = 1 - animatedSearchLayout
|
||||
scaleY = 1 - animatedSearchLayout
|
||||
alpha = 1 - animatedSearchLayout
|
||||
},
|
||||
) {
|
||||
ElevatedCard(modifier = Modifier.padding(vertical = dimensionResource(id = R.dimen.search_layout_margin_v))) {
|
||||
@@ -668,7 +667,6 @@ fun GalleryListScreen(lub: ListUrlBuilder, navigator: DestinationsNavigator) = c
|
||||
modifier = Modifier.graphicsLayer {
|
||||
scaleX = animatedSearchLayout
|
||||
scaleY = animatedSearchLayout
|
||||
alpha = animatedSearchLayout
|
||||
},
|
||||
data = data,
|
||||
contentModifier = Modifier.nestedScroll(searchBarConnection),
|
||||
|
||||
Reference in new issue
Block a user