diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 17:09:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 17:09:15 +0200 |
| commit | 11ea17238fa617f8952e8255f3cfc400c53bd413 (patch) | |
| tree | 9cf5d8c9f7fa46f11d2be573afe62810c99fb106 /app/client/modules/pix2pix | |
| parent | a5dc29fdb15f05c79ea6bb780b92f888ef17ba1e (diff) | |
25fps
Diffstat (limited to 'app/client/modules/pix2pix')
| -rw-r--r-- | app/client/modules/pix2pix/views/pix2pix.live.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/client/modules/pix2pix/views/pix2pix.live.js b/app/client/modules/pix2pix/views/pix2pix.live.js index 8c32d0c..9769109 100644 --- a/app/client/modules/pix2pix/views/pix2pix.live.js +++ b/app/client/modules/pix2pix/views/pix2pix.live.js @@ -129,7 +129,7 @@ class Pix2PixLive extends Component { this.props.opt.savingVideo ? 'Saving video...' : this.props.opt.recording - ? 'Recording (' + timeInSeconds(this.props.opt.recordFrames) +')' + ? 'Recording (' + timeInSeconds(this.props.opt.recordFrames/25) +')' : 'Record video' } onClick={this.toggleRecording} @@ -301,7 +301,7 @@ class Pix2PixLive extends Component { } } function timeInSeconds(n){ - return (n / 10).toFixed(1) + ' s.' + return n.toFixed(1) + ' s.' } const mapStateToProps = state => ({ last_message: state.live.last_message, |
