fold tiny util into api, clean up modal corner cases, add more jsdoc
This commit is contained in:
parent
dbde596903
commit
bcd2449b89
11 changed files with 339 additions and 90 deletions
|
|
@ -93,8 +93,8 @@ function setMode(mode, lock, then) {
|
|||
platform.update_selected();
|
||||
selection.update_bounds(api.widgets.all());
|
||||
api.conf.update_fields();
|
||||
// because device dialog, if showing, needs to be updated
|
||||
if (modal.visible()) {
|
||||
// if device dialog showing, needs to be refreshed
|
||||
if (modal.is('setup')) {
|
||||
api.show.devices();
|
||||
}
|
||||
api.space.restore(null, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue