diff options
author | rabite <rabite@posteo.de> | 2020-05-25 14:42:25 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2020-05-25 14:42:47 +0200 |
commit | 34ee65600f2cd9efdc40b6d23675116b78310644 (patch) | |
tree | b49c14a0945969f3c0d148dbb5ed553ec70caeb6 | |
parent | a735747a2792671c0552b52f6739fee378ce7dd3 (diff) |
start loading metadata during animation
-rw-r--r-- | src/preview.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preview.rs b/src/preview.rs index f9b3c56..394cf7f 100644 --- a/src/preview.rs +++ b/src/preview.rs @@ -492,6 +492,8 @@ impl Previewer { if stale.is_stale()? { return Previewer::preview_failed(&file) } + // Start loading metadata during animation + file_list.refresh()?; file_list.animate_slide_up(Some(animator))?; file_list.core.set_clean(); |