diff --git a/src/kiri-mode/cam/client.js b/src/kiri-mode/cam/client.js index 4b1bf706..46bab9d5 100644 --- a/src/kiri-mode/cam/client.js +++ b/src/kiri-mode/cam/client.js @@ -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