fix disabling index op
This commit is contained in:
parent
fdc61bd09a
commit
4593efd8ea
1 changed files with 4 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ CAM.init = function(kiri, api) {
|
|||
if (op.type === '|') {
|
||||
break;
|
||||
}
|
||||
if (op.type === 'index') {
|
||||
if (op.type === 'index' && !op.disabled) {
|
||||
indexing = true;
|
||||
if (op.absolute) {
|
||||
index = op.degrees
|
||||
|
|
@ -641,6 +641,9 @@ CAM.init = function(kiri, api) {
|
|||
el.classList.remove("disabled");
|
||||
}
|
||||
}
|
||||
if (isIndexed) {
|
||||
updateIndex();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
// duplicate op
|
||||
|
|
|
|||
Loading…
Reference in a new issue