修复评论宽度计算问题
parent
3ad4584159
commit
4965dad6a2
|
@ -31,7 +31,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { clipboardWriteText } from '@renderer/utils'
|
import { clipboardWriteText } from '@renderer/utils'
|
||||||
import { lyric } from '@renderer/core/share/lyric'
|
import { lyric } from '@renderer/core/share/lyric'
|
||||||
import { isPlay, isShowLrcSelectContent } from '@renderer/core/share/player'
|
import { isPlay, isShowLrcSelectContent, isShowPlayComment } from '@renderer/core/share/player'
|
||||||
import { onMounted, onBeforeUnmount, useCommit, useRefGetter, computed } from '@renderer/utils/vueTools'
|
import { onMounted, onBeforeUnmount, useCommit, useRefGetter, computed } from '@renderer/utils/vueTools'
|
||||||
import useLyric from '@renderer/utils/compositions/useLyric'
|
import useLyric from '@renderer/utils/compositions/useLyric'
|
||||||
|
|
||||||
|
@ -68,8 +68,9 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const lrcFontSize = computed(() => {
|
const lrcFontSize = computed(() => {
|
||||||
|
const size = setting.value.playDetail.style.fontSize / 100
|
||||||
return {
|
return {
|
||||||
'--playDetail-lrc-font-size': setting.value.playDetail.style.fontSize / 100 + 'rem',
|
'--playDetail-lrc-font-size': (isShowPlayComment.value ? size * 0.82 : size) + 'rem',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const isZoomActiveLrc = computed(() => setting.value.playDetail.isZoomActiveLrc)
|
const isZoomActiveLrc = computed(() => setting.value.playDetail.isZoomActiveLrc)
|
||||||
|
|
|
@ -307,7 +307,6 @@ export default {
|
||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
flex-basis: 30%;
|
flex-basis: 30%;
|
||||||
--playDetail-lrc-font-size: 13px !important;
|
|
||||||
.lyricSelectContent {
|
.lyricSelectContent {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue