Select expanded Combine files with keyboard navigation

This commit is contained in:
Dylan M. Taylor
2026-11-20 17:18:29 -05:00
parent 8c7cf1608e
commit 46cbee4053
+2 -1
View File
@@ -70,7 +70,8 @@ fn rows_of(draft: &[CombineFile], lists: &HashMap<u64, PageList>) -> Rows {
match lists.get(&f.id) {
Some(list) => {
let detail = crate::i18n::fmt(tl!("Pages: {k} of {n}"), &[("k", &list.order.len().to_string()), ("n", &f.pages.to_string())]);
out.groups.push(TileGroup::new(CombineKey::File(f.id), out.tiles.len(), list.order.len(), f.name.clone()).detail(detail));
out.groups
.push(TileGroup::new(CombineKey::File(f.id), out.tiles.len(), list.order.len(), f.name.clone()).detail(detail).selectable());
out.rows.push(CombineKey::File(f.id));
for nth in 0..list.order.len() {
out.tiles.push(CombineKey::Page(f.id, nth));