调整了桌面歌词在启用滚动到顶部时的距离
parent
65840e45cd
commit
ef7033cac0
|
@ -8,6 +8,7 @@
|
|||
### 优化
|
||||
|
||||
- 微调了桌面歌词逐行字体阴影,使其看起来更匀称
|
||||
- 调整了桌面歌词在启用滚动到顶部时的距离,现在滚动到顶部的歌词更靠边,不再受字体大小、歌词间距影响
|
||||
- 优化更新弹窗内容的显示,添加了自动更新失败时的更新指引
|
||||
|
||||
### 修复
|
||||
|
|
|
@ -72,7 +72,7 @@ export default {
|
|||
:global {
|
||||
.font-lrc, .shadow {
|
||||
padding: 0.08em 0.14em;
|
||||
margin: -0.08em -0.14em;
|
||||
margin: -0.08em 0;
|
||||
}
|
||||
.font-lrc {
|
||||
color: var(--color-lyric-unplay);
|
||||
|
|
|
@ -6,7 +6,7 @@ import { setWindowBounds } from '@lyric/utils/ipc'
|
|||
|
||||
const getOffsetTop = (contentHeight, lineHeight) => {
|
||||
switch (setting['desktopLyric.scrollAlign']) {
|
||||
case 'top': return setting['desktopLyric.style.lineGap'] / 2
|
||||
case 'top': return 0
|
||||
default: return contentHeight * 0.5 - lineHeight / 2
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ export default {
|
|||
:global {
|
||||
.font-lrc, .shadow {
|
||||
padding: 0.14em 0.07em;
|
||||
margin: -0.14em -0.07em;
|
||||
margin: 0 -0.07em;
|
||||
}
|
||||
.font-lrc {
|
||||
color: var(--color-lyric-unplay);
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue