Fix blur edge treatment

This commit is contained in:
Kyant0 committed 2025-07-18 10:23:21 +08:00
1 parent 8cbd2ac1b8
commit ced198cc35
2 files changed
+2 -2

No files matched your search

@@ -407,7 +407,7 @@ fun Preview() {
RenderEffect.createBlurEffect( RenderEffect.createBlurEffect(
blurRadiusPx, blurRadiusPx,
blurRadiusPx, blurRadiusPx,
Shader.TileMode.DECAL Shader.TileMode.CLAMP
).asComposeRenderEffect() ).asComposeRenderEffect()
} }
} }
@@ -112,7 +112,7 @@ internal class LiquidGlassModifierNode(
RenderEffect.createBlurEffect( RenderEffect.createBlurEffect(
contentBlurRadiusPx, contentBlurRadiusPx,
contentBlurRadiusPx, contentBlurRadiusPx,
Shader.TileMode.DECAL Shader.TileMode.CLAMP
) )
} else { } else {
RenderEffect.createOffsetEffect(0f, 0f) RenderEffect.createOffsetEffect(0f, 0f)