diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 20:09:50 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 20:09:50 +0200 |
| commit | f9ad8a4c20554bafaa5961ff44af0cec3f65fdb0 (patch) | |
| tree | 56e28191be4f386001c1771aefd6f2bf4d92d7ee /public/bundle.js | |
| parent | d35e3045c985b4cc2203cefdf520556683fe72fe (diff) | |
try kill
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/public/bundle.js b/public/bundle.js index 8090871..e292bc6 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -8120,6 +8120,11 @@ var Pix2WavLive = function (_Component) { this.props.actions.queue.stop_task('gpu'); } }, { + key: 'exit', + value: function exit() { + this.props.actions.queue.stop_task('gpu', { sigkill: true }); + } + }, { key: 'togglePlaying', value: function togglePlaying() { if (this.props.opt.processing) { @@ -8148,8 +8153,8 @@ var Pix2WavLive = function (_Component) { // console.log('sequence', this.props.opt) return (0, _preact.h)( 'div', - { className: 'app centered' }, - (0, _preact.h)(_common.Player, { width: 424, height: 256 }), + { className: 'app pix2wav centered' }, + (0, _preact.h)(_common.Player, { width: 256, height: 256 }), (0, _preact.h)( 'div', { className: 'params row' }, @@ -8265,7 +8270,7 @@ var Pix2WavLive = function (_Component) { }, (0, _preact.h)(_common.Slider, { live: true, name: 'sequence_frac', - min: 0.0, max: 0.5, type: 'float' + min: 0.0, max: 1, type: 'float' }), (0, _preact.h)(_common.Slider, { live: true, name: 'process_frac', @@ -8386,6 +8391,16 @@ var Pix2WavLive = function (_Component) { } }, 'Interrupt' + ), + (0, _preact.h)( + _common.Button, + { + title: 'Last resort', + onClick: function onClick() { + return _this2.exit(); + } + }, + 'Exit' ) ); } @@ -8409,6 +8424,16 @@ var Pix2WavLive = function (_Component) { } }, 'Interrupt' + ), + (0, _preact.h)( + _common.Button, + { + title: 'Last resort', + onClick: function onClick() { + return _this2.exit(); + } + }, + 'Exit' ) ); } |
