replace transient alert with busy spinner
This commit is contained in:
parent
eebfd7223d
commit
252c799100
2 changed files with 4 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ export function animate_clear(api) {
|
|||
}
|
||||
|
||||
export function animate(api, delay) {
|
||||
let alert = api.alerts.show("building animation");
|
||||
api.show.busy("building animation");
|
||||
let settings = api.conf.get();
|
||||
client.animate_setup(settings, data => {
|
||||
checkMeshCommands(data);
|
||||
|
|
@ -80,7 +80,7 @@ export function animate(api, delay) {
|
|||
button.pause.style.display = 'none';
|
||||
|
||||
api.event.emit('animate', 'CAM');
|
||||
api.alerts.hide(alert);
|
||||
api.show.busy(false);
|
||||
space.platform.showGridBelow(false);
|
||||
toggleTrans(0,api.local.getBoolean('cam.anim.trans', true));
|
||||
toggleModel(0,api.local.getBoolean('cam.anim.model', false));
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export function animate_clear2(api) {
|
|||
}
|
||||
|
||||
export function animate2(api, delay) {
|
||||
let alert = api.alerts.show("building animation");
|
||||
api.show.busy("building animation");
|
||||
let settings = api.conf.get();
|
||||
dark = settings.controller.dark;
|
||||
manifold = settings.controller.manifold;
|
||||
|
|
@ -92,7 +92,7 @@ export function animate2(api, delay) {
|
|||
button.pause.style.display = 'none';
|
||||
|
||||
api.event.emit('animate', 'CAM');
|
||||
api.alerts.hide(alert);
|
||||
api.show.busy(false);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue