From b19ebab84c13edadee0f2d6033e9b50b37842d17 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 19:16:14 +0200 Subject: seek to a frame --- app/client/live/actions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/client/live/actions.js') diff --git a/app/client/live/actions.js b/app/client/live/actions.js index eb0a2ff..46e0c6c 100644 --- a/app/client/live/actions.js +++ b/app/client/live/actions.js @@ -35,3 +35,8 @@ export const load_epoch = (checkpoint, epoch) => { socket.load_epoch(checkpoint, epoch) return { type: 'LOADING_CHECKPOINT', } } + +export const seek = (frame) => { + socket.seek(frame) + return { type: 'LOADING_CHECKPOINT', } +} -- cgit v1.2.3-70-g09d2