mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
remove ctx args from ctor
This commit is contained in:
+2
-3
@@ -27,13 +27,12 @@ export class SoundManager implements ISoundManager {
|
||||
}
|
||||
|
||||
constructor(
|
||||
private _terminal: ITerminal,
|
||||
private _audioContext?: AudioContext
|
||||
private _terminal: ITerminal
|
||||
) {
|
||||
}
|
||||
|
||||
public playBellSound(): void {
|
||||
const ctx = this._audioContext || SoundManager.audioContext;
|
||||
const ctx = SoundManager.audioContext;
|
||||
if (!ctx) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user