tr_off to tr_type. fix sr_typ sr_type typo
This commit is contained in:
parent
ce2d9b38a8
commit
b77333af39
1 changed files with 3 additions and 3 deletions
|
|
@ -667,14 +667,14 @@ export function createPopOps() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSurfaceLinear() {
|
function isSurfaceLinear() {
|
||||||
return env.poppedRec.mode === 'surface' && env.poppedRec.sr_typ === 'linear';
|
return env.poppedRec.mode === 'surface' && env.poppedRec.sr_type === 'linear';
|
||||||
}
|
}
|
||||||
|
|
||||||
createPopOp('area', {
|
createPopOp('area', {
|
||||||
spindle: 'camAreaSpindle',
|
spindle: 'camAreaSpindle',
|
||||||
tool: 'camAreaTool',
|
tool: 'camAreaTool',
|
||||||
mode: 'camAreaMode',
|
mode: 'camAreaMode',
|
||||||
tr_off: 'camAreaTrace',
|
tr_type: 'camAreaTrace',
|
||||||
sr_type: 'camAreaSurface',
|
sr_type: 'camAreaSurface',
|
||||||
sr_angle: 'camAreaAngle',
|
sr_angle: 'camAreaAngle',
|
||||||
over: 'camAreaOver',
|
over: 'camAreaOver',
|
||||||
|
|
@ -692,7 +692,7 @@ export function createPopOps() {
|
||||||
}).inputs = {
|
}).inputs = {
|
||||||
tool: UC.newSelect(LANG.cc_tool, {}, "tools"),
|
tool: UC.newSelect(LANG.cc_tool, {}, "tools"),
|
||||||
mode: UC.newSelect(LANG.mo_menu, {}, "opmode"),
|
mode: UC.newSelect(LANG.mo_menu, {}, "opmode"),
|
||||||
tr_off: UC.newSelect(LANG.cc_offs_s, { title: LANG.cc_offs_l, show: isTrace }, "traceoff"),
|
tr_type: UC.newSelect(LANG.cc_offs_s, { title: LANG.cc_offs_l, show: isTrace }, "traceoff"),
|
||||||
sr_type: UC.newSelect("pattern", { title: "pattern", show: isSurface }, "surftyp"),
|
sr_type: UC.newSelect("pattern", { title: "pattern", show: isSurface }, "surftyp"),
|
||||||
sep: UC.newBlank({ class: "pop-sep" }),
|
sep: UC.newBlank({ class: "pop-sep" }),
|
||||||
menu: UC.newRow([
|
menu: UC.newRow([
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue