replace transient alert with busy spinner

This commit is contained in:
Stewart Allen 2026-02-23 20:41:54 -05:00
commit 252c799100
2 changed files with 4 additions and 4 deletions

View file

@ -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));

View file

@ -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);
});
}