fix adding cnc ops
This commit is contained in:
parent
a24aa19837
commit
c7456c7736
7 changed files with 313 additions and 276 deletions
|
|
@ -274,7 +274,7 @@ CAM.init = function(kiri, api) {
|
|||
$('op-add-list').onclick = (ev) => {
|
||||
let settings = API.conf.get();
|
||||
let { process, device } = settings;
|
||||
switch (ev.target.innerText) {
|
||||
switch (ev.target.innerText.toLowerCase()) {
|
||||
case "index": return func.opAddIndex();
|
||||
case "laser on": return func.opAddLaserOn();
|
||||
case "laser off": return func.opAddLaserOff();
|
||||
|
|
|
|||
Loading…
Reference in a new issue