summaryrefslogtreecommitdiff
path: root/app/client/live
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 20:34:42 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 20:34:42 +0200
commitaf3bed7b5b1b01531e3bb34c56612c37717e06b7 (patch)
tree8e520aa3936a0296041d246bf8cf9a7e8645dc9f /app/client/live
parent413dece08acb8d168835b0642bf1bccf85506c95 (diff)
pauzejabber
Diffstat (limited to 'app/client/live')
-rw-r--r--app/client/live/index.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/client/live/index.js b/app/client/live/index.js
index 4fc1b5c..3a5dbd4 100644
--- a/app/client/live/index.js
+++ b/app/client/live/index.js
@@ -64,6 +64,12 @@ class App extends Component {
options={['a','b','sequence','recursive']}
/>
<Select
+ name='sequence_name'
+ title='sequence'
+ options={this.props.sequences}
+ onChange={this.changeSequence}
+ />
+ <Select
name='checkpoint_name'
title='checkpoint'
options={this.props.checkpoints}
@@ -75,22 +81,16 @@ class App extends Component {
options={this.props.epochs}
onChange={this.changeEpoch}
/>
- <Select
- name='sequence_name'
- title='sequence'
- options={this.props.sequences}
- onChange={this.changeSequence}
- />
<Slider
name='position'
min={0.0} max={1.0} type='float'
value={(this.props.frame.sequence_i || 0) / (this.props.frame.sequence_len || 1)}
onChange={this.seek}
/>
- <div>
- Processing: {this.props.opt.processing}
- </div>
- <Button onClick={this.toggle}>
+ <Button
+ title={'Processing: ' + (this.props.opt.processing ? 'yes' : 'no')}
+ onClick={this.toggle}
+ >
{this.props.opt.processing ? 'Pause' : 'Restart'}
</Button>
</ParamGroup>