优化进度条动画

pull/930/merge
lyswhut 2022-02-16 11:30:35 +08:00
parent 43c5051158
commit a7e3c1a0c4
2 changed files with 2 additions and 1 deletions

View File

@ -127,6 +127,7 @@ export default {
background-color: @color-player-progress-bar2;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
opacity: 0.8;
will-change: transform;
}
.progress-bar3 {

View File

@ -2,7 +2,7 @@
<div :class="['right', $style.right]">
<div :class="['lyric', $style.lyric, { [$style.draging]: isMsDown }]" @wheel="handleWheel" @mousedown="handleLyricMouseDown" ref="dom_lyric">
<div :class="$style.lyricSpace"></div>
<div :class="[$style.lyricText]" ref="dom_lyric_text"></div>
<div ref="dom_lyric_text"></div>
<div :class="$style.lyricSpace"></div>
</div>
<transition enter-active-class="animated fadeIn" leave-active-class="animated fadeOut">