Skip to content
Snippets Groups Projects
Commit 6f354c1e authored by jojohoch's avatar jojohoch
Browse files

Disable sounds of mathlive keyboard

parent 8a4acca9
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,8 @@ export class MathInputComponent implements AfterViewInit, OnChanges {
}
private setupMathField(): void {
// MathfieldElement.fontsDirectory = null;
MathfieldElement.soundsDirectory = null;
this.inputRef.nativeElement.appendChild(this.mathFieldElement);
this.mathFieldElement.value = this.value;
this.mathFieldElement.readOnly = this.readonly;
......@@ -88,6 +90,7 @@ export class MathInputComponent implements AfterViewInit, OnChanges {
}
}
// eslint-disable-next-line
setFocus(offset?: number): void {
this.mathFieldElement.focus();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment