prevent dogbones on tabs. fix settings restore order to preserve annotations

This commit is contained in:
Stewart Allen 2022-02-03 15:23:16 -05:00
commit 99b9dc476e
3 changed files with 3 additions and 2 deletions

View file

@ -2714,7 +2714,6 @@
clearWorkspace();
settings = CONF.normalize(data.settings);
SDB.setItem('ws-settings', JSON.stringify(settings));
restoreSettings();
if (LOCAL) console.log('settings',Object.clone(settings));
if (isWork) {
API.platform.clear();
@ -2725,6 +2724,7 @@
SPACE.view.load(data.view);
}
}
restoreSettings();
restoreWorkspace(() => {
UI.sync();
}, true);