调整了桌面歌词在启用滚动到顶部时的距离
This commit is contained in:
@@ -6,7 +6,7 @@ import { setWindowBounds } from '@lyric/utils/ipc'
|
||||
|
||||
const getOffsetTop = (contentWidth, lineWidth) => {
|
||||
switch (setting['desktopLyric.scrollAlign']) {
|
||||
case 'top': return contentWidth - lineWidth - lineWidth * 0.1
|
||||
case 'top': return contentWidth - lineWidth
|
||||
default: return contentWidth * 0.5 - lineWidth / 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user