allow control menus to be disabled with frame api
This commit is contained in:
parent
733d5b275f
commit
5dce409baa
2 changed files with 2 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ window.addEventListener('message', msg => {
|
|||
|
||||
if (data.features) {
|
||||
Object.assign(feature, data.features);
|
||||
api.show.controls(api.feature.controls);
|
||||
}
|
||||
|
||||
if (data.device) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ function parse(text, opt = { soup: true }) {
|
|||
|| xmlat['extrude']
|
||||
|| {value: 5};
|
||||
|
||||
|
||||
for (let i = 0; i < paths.length; i++) {
|
||||
let path = paths[i];
|
||||
let shapes = path.toShapes(true);
|
||||
|
|
@ -72,6 +71,7 @@ function parse(text, opt = { soup: true }) {
|
|||
}
|
||||
}
|
||||
}));
|
||||
|
||||
let z = parseFloat(depth.value);
|
||||
for (let poly of nest) {
|
||||
let obj = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue