fix audiomanager
This commit is contained in:
parent
1958449178
commit
940b08742a
@ -19,6 +19,10 @@
|
||||
let decreaseWhileTalking: boolean=true;
|
||||
|
||||
onMount(() => {
|
||||
volume = localUserStore.getAudioPlayerVolume();
|
||||
audioManagerVolumeStore.setMuted(localUserStore.getAudioPlayerMuted());
|
||||
setVolume();
|
||||
|
||||
unsubscriberFileStore=audioManagerFileStore.subscribe(() => {
|
||||
HTMLAudioPlayer.pause();
|
||||
HTMLAudioPlayer.loop=get(audioManagerVolumeStore).loop;
|
||||
|
Loading…
Reference in New Issue
Block a user