diff options
Diffstat (limited to 'app/client/modules')
| -rw-r--r-- | app/client/modules/biggan/views/biggan.categoryList.js | 1 | ||||
| -rw-r--r-- | app/client/modules/biggan/views/biggan.encodingList.js | 8 | ||||
| -rw-r--r-- | app/client/modules/biggan/views/biggan.live.js | 11 |
3 files changed, 9 insertions, 11 deletions
diff --git a/app/client/modules/biggan/views/biggan.categoryList.js b/app/client/modules/biggan/views/biggan.categoryList.js index 7d38efc..d435023 100644 --- a/app/client/modules/biggan/views/biggan.categoryList.js +++ b/app/client/modules/biggan/views/biggan.categoryList.js @@ -116,7 +116,6 @@ class BigGANCategoryList extends Component { const mapStateToProps = state => ({ opt: state.live.opt, - frame: state.live.frame, biggan: state.module.biggan, }) diff --git a/app/client/modules/biggan/views/biggan.encodingList.js b/app/client/modules/biggan/views/biggan.encodingList.js index 8ebf05b..d12fb81 100644 --- a/app/client/modules/biggan/views/biggan.encodingList.js +++ b/app/client/modules/biggan/views/biggan.encodingList.js @@ -31,7 +31,13 @@ class BigGANEncodingList extends Component { return ( <div> <div className="spacer"> - {this.props.last_message} + {frame.i ? + <div className='param'> + <span>Frame #{frame.i}</span> + {frameTimestamp(frame.i)} + </div> + : <div className='param'><span></span></div> + } </div> <Group title={"Stored image"}> <Slider live diff --git a/app/client/modules/biggan/views/biggan.live.js b/app/client/modules/biggan/views/biggan.live.js index bdf608d..ad0fd66 100644 --- a/app/client/modules/biggan/views/biggan.live.js +++ b/app/client/modules/biggan/views/biggan.live.js @@ -33,7 +33,7 @@ class BigGANLive extends Component { this.props.actions.queue.stop_task('gpu') } render() { - const { biggan, actions, frame } = this.props + const { biggan, actions } = this.props // console.log(actions) // if (biggan.loading) { // return <Loading progress={biggan.progress} /> @@ -46,13 +46,7 @@ class BigGANLive extends Component { </div> <div className='params column audioParams'> <div className='spacer'> - {frame.i ? - <div className='param'> - <span>Frame #{frame.i}</span> - {frameTimestamp(frame.i)} - </div> - : <div className='param'><span></span></div> - } + {this.props.last_message} </div> <Group title="Player"> @@ -186,7 +180,6 @@ class BigGANLive extends Component { const mapStateToProps = state => ({ fullscreen: state.live.fullscreen, opt: state.live.opt, - frame: state.live.frame, runner: state.system.runner, i18n: state.system.i18n.strings, biggan: state.module.biggan, |
