fix adding cnc ops
This commit is contained in:
parent
a24aa19837
commit
c7456c7736
7 changed files with 313 additions and 276 deletions
|
|
@ -234,14 +234,12 @@ function platformUpdateSelected() {
|
|||
const { device } = settings;
|
||||
const { extruders } = device;
|
||||
const { selection, ui } = api;
|
||||
const { area, enable, disable } = ui.options;
|
||||
const { enable, disable } = ui.options;
|
||||
|
||||
const selreal = selection.widgets();
|
||||
const selwid = selection.widgets(true);
|
||||
const selcount = selwid.length;
|
||||
|
||||
area.style.display = selreal.length ? 'flex' : '';
|
||||
|
||||
if (selcount) {
|
||||
let enaC = selwid.filter(w => w.meta.disabled !== true).length;
|
||||
let disC = selwid.filter(w => w.meta.disabled === true).length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue