Skip to content

Commit

Permalink
Opt: danmuku
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 17, 2023
1 parent df3bd15 commit 3c9bd50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ watchers.push(
watch(
() => room.danmuku,
() => {
if (!art || !art.plugins.artplayerPluginDanmuku) return;
art.plugins.artplayerPluginDanmuku.emit(room.danmuku);
}
)
Expand Down

0 comments on commit 3c9bd50

Please sign in to comment.