diff --git a/crates/app/src/render.rs b/crates/app/src/render.rs index 556a01e..c76da72 100644 --- a/crates/app/src/render.rs +++ b/crates/app/src/render.rs @@ -648,8 +648,7 @@ impl Render for Player { // what it wants instead. The window // is already the drop target. .or_else(|| { - self.session - .is_none() + (self.active_session().is_none()) .then(|| empty_hint().into_any_element()) }), ) diff --git a/crates/app/src/ui/preview.rs b/crates/app/src/ui/preview.rs index fb296d2..a7bc3a1 100644 --- a/crates/app/src/ui/preview.rs +++ b/crates/app/src/ui/preview.rs @@ -120,6 +120,9 @@ impl Player { let shown: Option<(Lane, Vec)> = self .active_sub_lane() .filter(|_| self.subs_on) + // A preview is another file: the timeline's words over its + // picture would caption the wrong film. + .filter(|_| self.preview_session.is_none()) .and_then(|lane| { let cues = self.session.as_ref()?.sub_lane_cues(lane); let now: Vec<_> = cues_at(&cues, at).into_iter().cloned().collect();