Remove unnecessary onDrawBehind for LiquidBottomTabs
This commit is contained in:
1 parent
ed66ae1418
commit
46f1766685
1 file changed
-3
@@ -272,9 +272,6 @@ fun LiquidBottomTabs(
|
||||
scaleX /= 1f - (velocity * 0.75f).fastCoerceIn(-0.2f, 0.2f)
|
||||
scaleY *= 1f - (velocity * 0.25f).fastCoerceIn(-0.2f, 0.2f)
|
||||
},
|
||||
onDrawBehind = {
|
||||
drawRect(Color.Red, blendMode = BlendMode.Clear)
|
||||
},
|
||||
onDrawSurface = {
|
||||
val progress = dampedDragAnimation.pressProgress
|
||||
drawRect(
|
||||
|
||||
Reference in new issue
Block a user