Skip to content

Commit

Permalink
Fix preview update (#10388)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Mar 12, 2024
1 parent 1c5d676 commit 579a7c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/views/events/RecordingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ export function DesktopRecordingView({
mainControllerRef.current = controller;
controller.onPlayerTimeUpdate((timestamp: number) => {
setCurrentTime(timestamp);
Object.values(previewRefs.current ?? {}).forEach((prev) =>
prev.scrubToTimestamp(Math.floor(timestamp)),
);
});
}}
/>
Expand Down

0 comments on commit 579a7c8

Please sign in to comment.