feat: show scanning icon for parent and subfolder nodes along scan path

This commit is contained in:
2026-10-08 19:02:06 +07:00
parent 66de0c35b1
commit bfda4b4b9e
5 changed files with 16 additions and 7 deletions
+4 -1
View File
@@ -1034,7 +1034,10 @@ export async function scanFolder(
// through. A jump would take it out of the subtree it was kept to, and
// the reading it left behind is the reading that folder wanted.
const asked = bounded ? () => null : (jump ?? (() => null));
walked = await walkPass(tree, entries, names, isSupportedPhoto, asked);
walked = await walkPass(tree, entries, names, isSupportedPhoto, asked, (dirRel) => {
progress.at = normPath(dirRel);
publish(true);
});
// The names come in before the frames they hold: the column grows one pass
// ahead of the strip, which is the whole point of reading layer by layer.
for (const rel of names) {