Sequence module is controlled from the UI. Everything runs in the main.js on the main process. The DOM changes when ipc messages are sent from the sequence module to the render process.

This commit is contained in:
mmcwilliams 2019-03-24 00:24:39 -04:00
parent 43ee0d0672
commit c129739394
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ seq.listener = function (event, arg) {
} else if (typeof arg.step !== 'undefined' && arg.start) {
seq.activeStep(arg.step);
log.info(`Step ${arg.step} active`, 'SERIAL', true);
} else if (arg.step && arg.stop) {
} else if (typeof arg.step !== 'undefined' && arg.stop) {
seq.inactiveAll();
} else if (arg.stop) {
log.info('Sequence stopped', 'SERIAL', true);