From 1f2ac5be0461d20a6ff9646c187fc9ae12da0d11 Mon Sep 17 00:00:00 2001 From: theov Date: Thu, 4 Jun 2026 01:33:34 -0300 Subject: [PATCH] Fixed fade glitch for MarqueeText.kt effect --- .../pixelplay/presentation/components/MarqueeText.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/theveloper/pixelplay/presentation/components/MarqueeText.kt b/app/src/main/java/com/theveloper/pixelplay/presentation/components/MarqueeText.kt index af15b30a5..a4f4ea2cf 100644 --- a/app/src/main/java/com/theveloper/pixelplay/presentation/components/MarqueeText.kt +++ b/app/src/main/java/com/theveloper/pixelplay/presentation/components/MarqueeText.kt @@ -45,7 +45,7 @@ fun AutoScrollingTextOnDemand( // Usamos un Text "medidor" sólo la primera composición para detectar overflow. - if (!canStart) { + if (!overflow) { Text( text = text, style = style, @@ -61,7 +61,7 @@ fun AutoScrollingTextOnDemand( textAlign = TextAlign.Start, gradientEdgeColor = gradientEdgeColor, modifier = modifier, - canScroll = canScroll + canScroll = canScroll && canStart ) } }