From 0d1158335f61e51feff5da41ad24e858ca2c5156 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 20 Feb 2021 21:06:26 +0900 Subject: Chat UIでサウンドがならない問題を修正 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/ui/chat/timeline.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/ui/chat/timeline.vue b/src/client/ui/chat/timeline.vue index 2a74584e65..2f0e571ef0 100644 --- a/src/client/ui/chat/timeline.vue +++ b/src/client/ui/chat/timeline.vue @@ -61,11 +61,6 @@ export default defineComponent({ type: String, required: false }, - sound: { - type: Boolean, - required: false, - default: false, - } }, emits: ['note', 'queue', 'before', 'after'], @@ -95,9 +90,7 @@ export default defineComponent({ this.$emit('note'); - if (this.sound) { - sound.play(note.userId === this.$i.id ? 'noteMy' : 'note'); - } + sound.play(note.userId === this.$i.id ? 'noteMy' : 'note'); }; const onUserAdded = () => { -- cgit v1.2.3-freya