Disable lyrics scrolling while the user is doing it themself (#1149)
* Disable lyrics scrolling while the user is doing it themself * Add scroll event to other .lyric-body element
This commit is contained in:
parent
40ba2f58da
commit
05b6ea112e
2 changed files with 10 additions and 3 deletions
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-body lyric-body" style="width:100%;">
|
||||
<div class="md-body lyric-body" style="width:100%;" @scroll.passive="blockLyricsScrolling()">
|
||||
<template v-if="player.lyrics">
|
||||
<template v-for="lyric in player.lyrics" v-if="lyric.line != 'lrcInstrumental'">
|
||||
<h3 class="lyric-line" @click="seekTo(lyric.startTime, false)"
|
||||
|
@ -723,7 +723,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-body lyric-body">
|
||||
<div class="md-body lyric-body" @scroll.passive="blockLyricsScrolling()">
|
||||
<template v-if="player.lyrics">
|
||||
<template v-for="lyric in player.lyrics" v-if="lyric.line != 'lrcInstrumental'">
|
||||
<h3 class="lyric-line" @click="seekTo(lyric.startTime, false)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue