summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pix/views/pix2pix.live.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/modules/pix2pix/views/pix2pix.live.js')
-rw-r--r--app/client/modules/pix2pix/views/pix2pix.live.js4
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,