fix(android): Songzeilen halten rechts Platz fuer den Rollbalken
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2641a6df44
commit
2258e5465f
3 files changed
+11
-4
No files matched your search
@@ -45,7 +45,10 @@ fun SongRow(
|
||||
.fillMaxWidth()
|
||||
.clickable(onClick = onPlay)
|
||||
.background(if (isPlaying) NsAccent.copy(alpha = 0.08f) else Color.Transparent)
|
||||
.padding(start = if (isPlaying) 0.dp else 4.dp),
|
||||
// Rechts 24 dp frei halten: genau dort liegt der Rollbalken, und ein ⋮ darunter
|
||||
// waere nicht mehr zu treffen — Compose gibt eine Beruehrung nur an das oberste
|
||||
// getroffene Element. Gilt ueberall, damit die Zeilen gleich aussehen.
|
||||
.padding(start = if (isPlaying) 0.dp else 4.dp, end = 24.dp),
|
||||
) {
|
||||
// Accent left bar when playing
|
||||
if (isPlaying) {
|
||||
|
||||
Reference in new issue
Block a user