Skip to content

Commit 4ad865b

Browse files
authored
Merge pull request #735 from MoYingJi/pr/fa
fix(am-lyric): 没有遵循 countDownShow
2 parents ad1dc14 + 5b1cc3a commit 4ad865b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/Player/MainAMLyric.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
:hidePassedLines="settingStore.hidePassedLines"
2424
:wordFadeWidth="settingStore.wordFadeWidth"
2525
:style="{
26+
'--display-count-down-show': settingStore.countDownShow ? 'flex' : 'none',
2627
'--amll-lp-font-size': settingStore.lyricFontSize + 'px',
2728
'font-weight': settingStore.lyricFontBold ? 'bold' : 'normal',
2829
'font-family': settingStore.LyricFont !== 'follow' ? settingStore.LyricFont : '',
@@ -88,7 +89,7 @@ const amLyricsData = computed(() => {
8889
if (!showTran) line.translatedLyric = "";
8990
if (!showRoma) line.romanLyric = "";
9091
if (!showWordsRoma) line.words.forEach((word) => (word.romanWord = ""));
91-
})
92+
});
9293
}
9394
9495
return clonedLyrics;
@@ -166,6 +167,12 @@ onBeforeUnmount(() => {
166167
top: 0;
167168
padding-left: 10px;
168169
padding-right: 80px;
170+
171+
div {
172+
div[class^="_interludeDots"] {
173+
display: var(--display-count-down-show);
174+
}
175+
}
169176
}
170177
171178
&.pure {

0 commit comments

Comments
 (0)