mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-03 14:20:50 +08:00
✨ feat: 调整迷你播放栏列表项高度,从52px更改为69px,以优化滚动体验
This commit is contained in:
@@ -253,7 +253,7 @@ const togglePlaylist = () => {
|
||||
const scrollToPlayList = () => {
|
||||
setTimeout(() => {
|
||||
const currentIndex = playerStore.playListIndex;
|
||||
const itemHeight = 52; // 每个列表项的高度
|
||||
const itemHeight = 69; // 每个列表项的高度
|
||||
palyListRef.value?.scrollTo({
|
||||
top: currentIndex * itemHeight,
|
||||
behavior: 'smooth'
|
||||
|
||||
Reference in New Issue
Block a user