From 08eace9e90974d1c1f8d6329bd1c078da4e42faa Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sun, 27 Sep 2026 12:11:13 +0000 Subject: [PATCH] dim the playing art instead of desaturating it --- app/src/main/kotlin/com/subtracks/ui/library/SongsContent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/library/SongsContent.kt b/app/src/main/kotlin/com/subtracks/ui/library/SongsContent.kt index 3daa89d3..588f9376 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/SongsContent.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/SongsContent.kt @@ -68,7 +68,7 @@ private val PLAY_SHADOW_RADIUS = 3.dp private val PLAY_SHADOW = Color.Black.copy(alpha = 0.6f) private val INNER_SHADOW_RADIUS = 8.dp private val INNER_SHADOW = Color.Black.copy(alpha = 0.85f) -private val DESATURATE = ColorFilter.colorMatrix(ColorMatrix().apply { setToSaturation(0.45f) }) +private val DIM = ColorFilter.colorMatrix(ColorMatrix().apply { setToScale(0.6f, 0.6f, 0.6f, 1f) }) private val PLAY_ARROW = Icons.Rounded.PlayArrow private val PLAY_ARROW_PATH: Path by lazy { buildVectorPath(PLAY_ARROW) } @@ -171,7 +171,7 @@ private fun CoverArtCell( ref = ref, name = name, modifier = Modifier.size(48.dp).clip(shape), - colorFilter = if (isPlaying) DESATURATE else null, + colorFilter = if (isPlaying) DIM else null, ) if (isPlaying) { Box(Modifier.matchParentSize().drawBehind { drawInnerShadow() })