Remove unnecessary onDrawBehind for LiquidBottomTabs

This commit is contained in:
Kyant0 committed 2025-11-05 11:00:02 +08:00
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(