From af3bed7b5b1b01531e3bb34c56612c37717e06b7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 20:34:42 +0200 Subject: pauzejabber --- public/bundle.js | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index 16b3832..46bca20 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -909,6 +909,12 @@ var App = function (_Component) { title: 'view mode', options: ['a', 'b', 'sequence', 'recursive'] }), + (0, _preact.h)(_select2.default, { + name: 'sequence_name', + title: 'sequence', + options: this.props.sequences, + onChange: this.changeSequence + }), (0, _preact.h)(_select2.default, { name: 'checkpoint_name', title: 'checkpoint', @@ -921,27 +927,18 @@ var App = function (_Component) { options: this.props.epochs, onChange: this.changeEpoch }), - (0, _preact.h)(_select2.default, { - name: 'sequence_name', - title: 'sequence', - options: this.props.sequences, - onChange: this.changeSequence - }), (0, _preact.h)(_slider2.default, { 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 }), - (0, _preact.h)( - 'div', - null, - 'Processing: ', - this.props.opt.processing - ), (0, _preact.h)( _button2.default, - { onClick: this.toggle }, + { + title: 'Processing: ' + (this.props.opt.processing ? 'yes' : 'no'), + onClick: this.toggle + }, this.props.opt.processing ? 'Pause' : 'Restart' ) ) -- cgit v1.2.3-70-g09d2