summaryrefslogtreecommitdiff
path: root/public/bundle.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/bundle.js')
-rw-r--r--public/bundle.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/bundle.js b/public/bundle.js
index bf0a0ee..d8ac2fd 100644
--- a/public/bundle.js
+++ b/public/bundle.js
@@ -1101,6 +1101,10 @@ socket.on('frame', function (data) {
var url = URL.createObjectURL(blob);
var img = new Image();
img.onload = function () {
+ _store.store.dispatch({
+ type: 'CURRENT_FRAME',
+ meta: data.meta
+ });
URL.revokeObjectURL(url);
var player = document.querySelector('.player canvas');
var ctx = player.getContext('2d');