diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 19:16:14 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 19:16:14 +0200 |
| commit | b19ebab84c13edadee0f2d6033e9b50b37842d17 (patch) | |
| tree | e2646d846df21b3146b5c1a43022c8beb1e1dcb0 /app/client/live/actions.js | |
| parent | ef4dccb818f391cd3c94d6d28d280b5e7c323b47 (diff) | |
seek to a frame
Diffstat (limited to 'app/client/live/actions.js')
| -rw-r--r-- | app/client/live/actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
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', } +} |
