diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 15:36:03 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 15:36:03 +0200 |
| commit | fc1c3835501b97e5d15ac33bd812cd87b20aabad (patch) | |
| tree | 31f3a97d274d9236a4332c903acb3622395e73ca /app/client/modules/pix2wav/pix2wav.reducer.js | |
| parent | 87c606ed3b8c9867418e412044af871fe6447700 (diff) | |
compute number of frames that will be generated
Diffstat (limited to 'app/client/modules/pix2wav/pix2wav.reducer.js')
| -rw-r--r-- | app/client/modules/pix2wav/pix2wav.reducer.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/client/modules/pix2wav/pix2wav.reducer.js b/app/client/modules/pix2wav/pix2wav.reducer.js index c1ae51c..18caad7 100644 --- a/app/client/modules/pix2wav/pix2wav.reducer.js +++ b/app/client/modules/pix2wav/pix2wav.reducer.js @@ -17,22 +17,22 @@ const pix2wavReducer = (state = pix2wavInitialState, action) => { } switch (action.type) { - case types.wav2pix.loaded_buffer: + case types.wav2pix.load: return { ...state, status: 'Loaded buffer', } - case types.wav2pix.draw_progress: + case types.wav2pix.progress: return { ...state, status: 'Rendering frame ' + action.count, } - case types.wav2pix.draw_finish: + case types.wav2pix.finish: return { ...state, - status: 'Render complete', + status: action.message || 'Render complete', } - case types.wav2pix.load_zip: + case types.wav2pix.zip: return { ...state, status: 'Built zip file', |
