summaryrefslogtreecommitdiff
path: root/app/client/modules/biggan
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-11 14:46:01 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-11 14:46:01 +0100
commit2ff0896a98a72219bc357d20245495c2f32e385c (patch)
tree3a2466f79cf7fb16d5bf7358b4e6b2a651502328 /app/client/modules/biggan
parent8e233b6f5c8d2715d26d3a2df6e96f3c41a67cea (diff)
deploy bundle
Diffstat (limited to 'app/client/modules/biggan')
-rw-r--r--app/client/modules/biggan/views/biggan.categoryList.js1
-rw-r--r--app/client/modules/biggan/views/biggan.encodingList.js8
-rw-r--r--app/client/modules/biggan/views/biggan.live.js11
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,