Watching panel: the last row shows in full
Port of release f28afd2.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -496,7 +496,9 @@ internal fun EmbyPlaybackDialog(session: EmbySampleSession, plan: EmbyPlaybackPl
|
||||
// list never pushes the bar off the screen (Paul, 6 November 2026).
|
||||
trackMenu?.let { rows ->
|
||||
BoxWithConstraints(Modifier.fillMaxWidth().weight(1f, fill = false)) {
|
||||
val fits = ((maxHeight - 56.dp) / 34.dp).toInt().coerceIn(3, 12)
|
||||
// Room kept for the panel's padding, its "more" lines and up to three headings with their dividers (Paul,
|
||||
// 6 November 2026: the last row, the sleep timer's "After this programme", showed only half).
|
||||
val fits = ((maxHeight - 150.dp) / 31.dp).toInt().coerceIn(3, 12)
|
||||
TrackPanel(rows, trackCursor, Modifier.align(Alignment.BottomEnd), maxRows = fits)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user