Sequence UI was broken with capture/transfer logic
This commit is contained in:
parent
a84b1019f1
commit
4c2af4415c
|
@ -109,7 +109,7 @@ light.colorPickers = function () {
|
|||
});
|
||||
light.rgb.init();
|
||||
light.kelvin.init();
|
||||
light.cmy.init();
|
||||
//light.cmy.init();
|
||||
};
|
||||
light.set = function (rgb, callback) { //rgb = [0,0,0]
|
||||
'use strict';
|
||||
|
|
|
@ -74,10 +74,10 @@ seq.run = function () {
|
|||
log.info('Sequence completed in ' + humanizeDuration(timeEnd), 'SEQUENCE', true);
|
||||
}
|
||||
|
||||
capture.report = ipcRenderer.sendSync('transfer', { action: 'end'});
|
||||
if (capture.active) {
|
||||
alert(capture.report);
|
||||
}
|
||||
//capture.report = ipcRenderer.sendSync('transfer', { action: 'end'});
|
||||
//if (capture.active) {
|
||||
//alert(capture.report);
|
||||
//}
|
||||
gui.notify('Sequence done!', (mcopy.state.sequence.arr.length * mcopy.loop) + ' actions completed in ' + humanizeDuration(timeEnd));
|
||||
//clear gui
|
||||
$('.row input').removeClass('h');
|
||||
|
@ -108,7 +108,7 @@ seq.init = function (start) {
|
|||
}
|
||||
seq.stop(false);
|
||||
seq.i = start;
|
||||
ipcRenderer.sendSync('transfer', { action: 'start'});
|
||||
//ipcRenderer.sendSync('transfer', { action: 'start'});
|
||||
seq.run();
|
||||
};
|
||||
seq.stats = function () {
|
||||
|
|
|
@ -343,11 +343,10 @@ cam.end = function (cmd, id, ms) {
|
|||
};
|
||||
|
||||
log.file = function () {
|
||||
const platform = process.platform
|
||||
let logPath = `/var/log/mcopy/`
|
||||
if (platform === 'darwin') {
|
||||
if (process.platform === 'darwin') {
|
||||
|
||||
} else if (platform === 'win32') {
|
||||
} else if (process.platform === 'win32') {
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue