Fix solid highlight blend mode

This commit is contained in:
Kyant0 committed 2025-09-24 10:58:42 +08:00
1 parent 7f468fbb74
commit f23b9e5408
2 files changed
+4 -8

No files matched your search

@@ -209,7 +209,7 @@ internal class HighlightNode(
if (maskShader != null) {
canvas.drawRect(0f, 0f, size.width, size.height, shaderPaint)
} else {
canvas.drawBitmap(bitmap, 0f, 0f, null)
canvas.drawBitmap(bitmap, 0f, 0f, shaderPaint)
}
}
}
@@ -4,7 +4,6 @@ import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
@@ -49,14 +48,11 @@ fun DialogContent() {
else Color(0xFF121212).copy(0.56f)
BackdropDemoScaffold(
Modifier
.background(dimColor)
.fillMaxSize(),
initialPainterResId = R.drawable.system_home_screen_light
) { backdrop ->
Box(
Modifier
.background(dimColor)
.fillMaxSize()
)
Column(
Modifier
.padding(40f.dp)