Home: Continue watching gets its own gold highlight (1.0 RC3-10, build 52)
Paul, 15 November 2026: with Continue watching on Home, scrolling down showed a blank gold bar over a category and another at the top. Both lists shared one gliding highlight, so each drew it where the other's focus was, measured from the wrong list. Each list now has its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ plugins {
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
}
|
||||
/** The release's build number: versionCode is this x 10 plus the edition's channel. */
|
||||
val ORBIT_BUILD = 51
|
||||
val ORBIT_BUILD = 52
|
||||
android {
|
||||
namespace = "tv.orbit.classic"
|
||||
compileSdk = 36
|
||||
|
||||
@@ -97,7 +97,10 @@ internal fun HomeScreen(channels: List<SampleChannel>, modifier: Modifier = Modi
|
||||
Spacer(Modifier.height(14.dp))
|
||||
Text("CONTINUE WATCHING", Modifier.width(400.dp), color = Yellow, fontFamily = Anton, fontSize = 13.sp)
|
||||
Spacer(Modifier.height(4.dp))
|
||||
CompositionLocalProvider(LocalGlide provides glide) { Column(Modifier.width(400.dp).glideArea(glide, Yellow, 6.dp), verticalArrangement = Arrangement.spacedBy(4.dp)) {
|
||||
// Its own gold (15 November 2026): sharing the categories' one, each list drew a gold bar where the other's
|
||||
// focus was, measured from the wrong place, so a blank bar covered a category and another chased it at the top.
|
||||
val carryGlide = rememberGlide()
|
||||
CompositionLocalProvider(LocalGlide provides carryGlide) { Column(Modifier.width(400.dp).glideArea(carryGlide, Yellow, 6.dp), verticalArrangement = Arrangement.spacedBy(4.dp)) {
|
||||
carryOn.take(HOME_CONTINUE_MAX).forEach { c ->
|
||||
HomeCard(Modifier.fillMaxWidth().height(31.dp), onClick = { onResume(c) }) { focused ->
|
||||
Row(Modifier.fillMaxSize().padding(horizontal = 16.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(10.dp)) {
|
||||
|
||||
Reference in New Issue
Block a user