summaryrefslogtreecommitdiff
path: root/public/bundle.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-07 20:09:50 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-07 20:09:50 +0200
commitf9ad8a4c20554bafaa5961ff44af0cec3f65fdb0 (patch)
tree56e28191be4f386001c1771aefd6f2bf4d92d7ee /public/bundle.js
parentd35e3045c985b4cc2203cefdf520556683fe72fe (diff)
try kill
Diffstat (limited to 'public/bundle.js')
-rw-r--r--public/bundle.js31
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'
)
);
}