Skip to content

Commit b73a25b

Browse files
committed
show area mode in op button
1 parent 22b99ed commit b73a25b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/kiri/mode/cam/cl-ops.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ export function createPopOps() {
699699
UC.newButton("edge", traceAdd),
700700
UC.newButton("surface", surfaceAdd),
701701
], { class: "ext-buttons f-row" }),
702-
outline: UC.newBoolean(LANG.cp_outl_s, undefined, { title: LANG.cp_outl_l, show: () => isClear() || isTrace() }),
702+
outline: UC.newBoolean(LANG.cp_outl_s, undefined, { title: LANG.cp_outl_l }),
703703
expand: UC.newInput(LANG.cp_xpnd_s, { title: LANG.cp_xpnd_l, convert: toFloat, units }),
704704
sep: UC.newBlank({ class: "pop-sep" }),
705705
sr_angle: UC.newInput("step angle", { title: "step angle", convert: toFloat, bound: UC.bound(0, 360), show: isSurfaceLinear }),

src/kiri/mode/cam/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export function opRender() {
287287
oplist.forEach((rec, i) => {
288288
let title = '';
289289
let clock = rec.type === '|';
290-
let label = clock ? `` : rec.type;
290+
let label = clock ? `` : rec.mode ?? rec.type;
291291
let clazz = notime ? ["draggable", "notime"] : ["draggable"];
292292
let notable = rec.note ? rec.note.split(' ').filter(v => v.charAt(0) === '#') : undefined;
293293
if (clock) { clazz.push('clock'); title = ` title="end of ops chain\ndrag/drop like an op\nops after this are disabled"` }

0 commit comments

Comments
 (0)