mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Chat UIでサウンドがならない問題を修正
This commit is contained in:
parent
fbf2d1f2fc
commit
84e3fe4702
1 changed files with 1 additions and 8 deletions
|
@ -61,11 +61,6 @@ export default defineComponent({
|
||||||
type: String,
|
type: String,
|
||||||
required: false
|
required: false
|
||||||
},
|
},
|
||||||
sound: {
|
|
||||||
type: Boolean,
|
|
||||||
required: false,
|
|
||||||
default: false,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
emits: ['note', 'queue', 'before', 'after'],
|
emits: ['note', 'queue', 'before', 'after'],
|
||||||
|
@ -95,9 +90,7 @@ export default defineComponent({
|
||||||
|
|
||||||
this.$emit('note');
|
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 = () => {
|
const onUserAdded = () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue