no
This commit is contained in:
parent
f50c1a7206
commit
d53c29ae16
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@
|
||||||
if (checkIfScrollIsStatic) {
|
if (checkIfScrollIsStatic) {
|
||||||
const yOffset = -120;
|
const yOffset = -120;
|
||||||
const y = this.$refs.lyricsview.querySelector(`.lyric-line[line-index="${i}"]`).getBoundingClientRect().top + yOffset;
|
const y = this.$refs.lyricsview.querySelector(`.lyric-line[line-index="${i}"]`).getBoundingClientRect().top + yOffset;
|
||||||
console.log(y)
|
|
||||||
this.$refs.lyricsview.scrollBy({
|
this.$refs.lyricsview.scrollBy({
|
||||||
behavior: "smooth",
|
behavior: "smooth",
|
||||||
top: y
|
top: y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue