summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2020-05-25 14:42:25 +0200
committerrabite <rabite@posteo.de>2020-05-25 14:42:47 +0200
commit34ee65600f2cd9efdc40b6d23675116b78310644 (patch)
treeb49c14a0945969f3c0d148dbb5ed553ec70caeb6
parenta735747a2792671c0552b52f6739fee378ce7dd3 (diff)
start loading metadata during animation
-rw-r--r--src/preview.rs2
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();