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:
Stepan Tikunov 2022-06-10 06:00:20 +03:00 committed by GitHub
parent 40ba2f58da
commit 05b6ea112e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -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)"