サウンド設定など

This commit is contained in:
syuilo
2020-02-20 02:40:53 +09:00
parent f456feb3ff
commit e7205d9cc2
18 changed files with 125 additions and 17 deletions

View File

@@ -197,6 +197,10 @@ export default class MiOS extends EventEmitter {
this.store.dispatch('mergeMe', {
hasUnreadMessagingMessage: true
});
const audio = new Audio(`/assets/sounds/${this.store.state.device.sfxChatBg}.mp3`);
audio.volume = this.store.state.device.sfxVolume;
audio.play();
});
main.on('readAllAntennas', () => {