diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:46:32 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:46:32 +0200 |
| commit | 5e6608c740017c989e68f847e940294f5ca5489e (patch) | |
| tree | dbc72096eecd49209a5d5a107c38b9174ae535de /app/client/live | |
| parent | 71f3bffcd69b5aad4319b1362cf35c8efd51bc10 (diff) | |
show fps..
Diffstat (limited to 'app/client/live')
| -rw-r--r-- | app/client/live/reducer.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/client/live/reducer.js b/app/client/live/reducer.js index f774d3e..df227e4 100644 --- a/app/client/live/reducer.js +++ b/app/client/live/reducer.js @@ -7,6 +7,7 @@ const liveInitialState = { checkpoints: [], checkpoint_dir: ['latest'], sequences: [], + fps: 0, } const liveReducer = (state = liveInitialState, action) => { @@ -54,6 +55,12 @@ const liveReducer = (state = liveInitialState, action) => { sequences: action.sequences, } + case 'SET_FPS': + return { + ...state, + fps: action.fps, + } + default: return state } |
