fix layers pop menu in compact mode
This commit is contained in:
parent
3f9f7f3b48
commit
75cac1f688
2 changed files with 6 additions and 0 deletions
|
|
@ -139,6 +139,10 @@ var gs_kiri_init = exports;
|
|||
API.dialog.hide();
|
||||
// cancel slicing
|
||||
if (KIRI.work.isSlicing()) KIRI.work.restart();
|
||||
// kill any poppers in compact mode
|
||||
UC.hidePoppers();
|
||||
// hide layers menu
|
||||
UI.layers.style.display = 'none';
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -111,9 +111,11 @@ var gs_moto_ui = exports;
|
|||
}
|
||||
}
|
||||
|
||||
// at present only used by the layers popup menu
|
||||
function setGroup(div) {
|
||||
addTo = lastDiv = div;
|
||||
groupName = undefined;
|
||||
lastGroup = [];
|
||||
return div;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue