feat(viewer): add bounding-box and animated SVG loading spinner

This commit is contained in:
uttarayan21
2025-10-09 13:35:56 +05:30
parent 76304da61f
commit 9384b50397
5 changed files with 166 additions and 34 deletions

View File

@@ -18,11 +18,11 @@ pub fn main() -> Result<()> {
.change_context(Error)
.attach("Failed to canonicalize path")?;
let files = walker(&input);
if files.is_empty() {
return Err(Error)
.attach("No files found in the folder")
.attach(input.display().to_string());
}
// if files.is_empty() {
// return Err(Error)
// .attach("No files found in the folder")
// .attach(input.display().to_string());
// }
viewer::run(files);
Ok(())