minor tweaks

This commit is contained in:
2023-08-28 21:36:03 +02:00
parent a772f96659
commit bb4b8d33db
2 changed files with 3 additions and 3 deletions

View File

@ -108,10 +108,10 @@ export class UserAPI {
_logMessage = (message: any): void => { _logMessage = (message: any): void => {
console.log(message); console.log(message);
clearTimeout(this.errorTimeoutID);
clearTimeout(this.printTimeoutID); clearTimeout(this.printTimeoutID);
clearTimeout(this.errorTimeoutID);
this.app.error_line.innerHTML = message as string; this.app.error_line.innerHTML = message as string;
this.app.error_line.style.color = "color-white"; this.app.error_line.style.color = "white";
this.app.error_line.classList.remove("hidden"); this.app.error_line.classList.remove("hidden");
this.printTimeoutID = setTimeout( this.printTimeoutID = setTimeout(
() => this.app.error_line.classList.add("hidden"), () => this.app.error_line.classList.add("hidden"),

View File

@ -959,7 +959,7 @@ Audio samples are dynamically loaded from the web. By default, Topos is providin
## Available audio samples ## Available audio samples
<b class="flex lg:pl-6 lg:pr-6 text-bold mb-8">Samples can take a few seconds to load. Please wait if you are not hearing anything.</b> <b class="flex lg:pl-6 lg:pr-6 text-bold mb-8">Samples can take a few seconds to load. Please wait if you are not hearing anything. Lower your volume, take it slow. Some sounds might be harsh.</b>
<div class="lg:pl-6 lg:pr-6 inline-block w-fit flex flex-row flex-wrap gap-x-2 gap-y-2"> <div class="lg:pl-6 lg:pr-6 inline-block w-fit flex flex-row flex-wrap gap-x-2 gap-y-2">
${injectAvailableSamples(application)} ${injectAvailableSamples(application)}
</div> </div>