add batch widget add / delete for usability / performance with very large #s of widgets
This commit is contained in:
parent
406cacc453
commit
7704b51d5f
3 changed files with 52 additions and 16 deletions
|
|
@ -560,7 +560,7 @@ function settingsImport(data, ask) {
|
|||
if (isWork) {
|
||||
api.platform.clear();
|
||||
kiri.codec.decode(data.work).forEach(widget => {
|
||||
api.platform.add(widget, 0, true);
|
||||
api.platform.add(widget, 0, true, true);
|
||||
});
|
||||
if (data.view) {
|
||||
space.view.load(data.view);
|
||||
|
|
|
|||
Loading…
Reference in a new issue