safari workaround for workers. disable decals in dark mode. add client listener before starting client
This commit is contained in:
parent
210855bcf9
commit
08d76c8b2f
4 changed files with 10 additions and 7 deletions
|
|
@ -59,6 +59,9 @@ function init() {
|
|||
}, 100);
|
||||
space.view.setZoom(zoomrev, zoomspd);
|
||||
|
||||
// reload stored space when worker is ready
|
||||
moto.client.on('ready', restore_space);
|
||||
|
||||
// start worker
|
||||
moto.client.start(`/code/mesh_work?${gapp.version}`);
|
||||
|
||||
|
|
@ -67,9 +70,6 @@ function init() {
|
|||
|
||||
// trigger ui building
|
||||
call.ui_build();
|
||||
|
||||
// reload stored space
|
||||
moto.client.on('ready', restore_space);
|
||||
}
|
||||
|
||||
// restore space layout and view from previous session
|
||||
|
|
|
|||
Loading…
Reference in a new issue