show area mode in op button
This commit is contained in:
parent
22b99ed033
commit
b73a25bed1
2 changed files with 2 additions and 2 deletions
|
|
@ -699,7 +699,7 @@ export function createPopOps() {
|
||||||
UC.newButton("edge", traceAdd),
|
UC.newButton("edge", traceAdd),
|
||||||
UC.newButton("surface", surfaceAdd),
|
UC.newButton("surface", surfaceAdd),
|
||||||
], { class: "ext-buttons f-row" }),
|
], { 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 }),
|
expand: UC.newInput(LANG.cp_xpnd_s, { title: LANG.cp_xpnd_l, convert: toFloat, units }),
|
||||||
sep: UC.newBlank({ class: "pop-sep" }),
|
sep: UC.newBlank({ class: "pop-sep" }),
|
||||||
sr_angle: UC.newInput("step angle", { title: "step angle", convert: toFloat, bound: UC.bound(0, 360), show: isSurfaceLinear }),
|
sr_angle: UC.newInput("step angle", { title: "step angle", convert: toFloat, bound: UC.bound(0, 360), show: isSurfaceLinear }),
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ export function opRender() {
|
||||||
oplist.forEach((rec, i) => {
|
oplist.forEach((rec, i) => {
|
||||||
let title = '';
|
let title = '';
|
||||||
let clock = rec.type === '|';
|
let clock = rec.type === '|';
|
||||||
let label = clock ? `` : rec.type;
|
let label = clock ? `` : rec.mode ?? rec.type;
|
||||||
let clazz = notime ? ["draggable", "notime"] : ["draggable"];
|
let clazz = notime ? ["draggable", "notime"] : ["draggable"];
|
||||||
let notable = rec.note ? rec.note.split(' ').filter(v => v.charAt(0) === '#') : undefined;
|
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"` }
|
if (clock) { clazz.push('clock'); title = ` title="end of ops chain\ndrag/drop like an op\nops after this are disabled"` }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue