Add todo in grid.js. This will be the biggest change in the rewrite. All ui/cmd.js commands must be re-written to be entirely ipc based and then all seq commands will be re-written to be ipc based as well.

This commit is contained in:
mmcwilliams 2019-03-22 03:15:43 -04:00
parent 52e6431d65
commit c436406e9e
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ grid.click = function (t) {
'use strict'; 'use strict';
const i = parseInt($(t).attr('x')); const i = parseInt($(t).attr('x'));
let c; let c;
//TODO: ADD OTHER STATES
if ($(t).prop('checked')) { if ($(t).prop('checked')) {
c = $(t).attr('class').replace('.', ''); c = $(t).attr('class').replace('.', '');
mcopy.state.sequence.arr[i] = c; mcopy.state.sequence.arr[i] = c;