diff --git a/src/kiri/mode/cam/cl-ops.js b/src/kiri/mode/cam/cl-ops.js index 9d5a0def..80555902 100644 --- a/src/kiri/mode/cam/cl-ops.js +++ b/src/kiri/mode/cam/cl-ops.js @@ -699,7 +699,7 @@ export function createPopOps() { UC.newButton("edge", traceAdd), UC.newButton("surface", surfaceAdd), ], { class: "ext-buttons f-row" }), - outline: UC.newBoolean(LANG.cp_outl_s, undefined, { title: LANG.cp_outl_l, show: () => isClear() || isTrace() }), + outline: UC.newBoolean(LANG.cp_outl_s, undefined, { title: LANG.cp_outl_l }), expand: UC.newInput(LANG.cp_xpnd_s, { title: LANG.cp_xpnd_l, convert: toFloat, units }), sep: UC.newBlank({ class: "pop-sep" }), sr_angle: UC.newInput("step angle", { title: "step angle", convert: toFloat, bound: UC.bound(0, 360), show: isSurfaceLinear }), diff --git a/src/kiri/mode/cam/client.js b/src/kiri/mode/cam/client.js index f1f4795c..245210b3 100644 --- a/src/kiri/mode/cam/client.js +++ b/src/kiri/mode/cam/client.js @@ -287,7 +287,7 @@ export function opRender() { oplist.forEach((rec, i) => { let title = ''; let clock = rec.type === '|'; - let label = clock ? `` : rec.type; + let label = clock ? `` : rec.mode ?? rec.type; let clazz = notime ? ["draggable", "notime"] : ["draggable"]; let notable = rec.note ? rec.note.split(' ').filter(v => v.charAt(0) === '#') : undefined; if (clock) { clazz.push('clock'); title = ` title="end of ops chain\ndrag/drop like an op\nops after this are disabled"` }