summaryrefslogtreecommitdiff
path: root/app/client/live/actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 19:16:14 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 19:16:14 +0200
commitb19ebab84c13edadee0f2d6033e9b50b37842d17 (patch)
treee2646d846df21b3146b5c1a43022c8beb1e1dcb0 /app/client/live/actions.js
parentef4dccb818f391cd3c94d6d28d280b5e7c323b47 (diff)
seek to a frame
Diffstat (limited to 'app/client/live/actions.js')
-rw-r--r--app/client/live/actions.js5
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', }
+}