mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-15 23:19:58 +02:00
remove remote requirement for lyrics match display
This commit is contained in:
@@ -50,7 +50,6 @@ export const SynchronizedKaraokeLyrics = ({
|
|||||||
name,
|
name,
|
||||||
offsetMs,
|
offsetMs,
|
||||||
pronunciationLyrics,
|
pronunciationLyrics,
|
||||||
remote,
|
|
||||||
romajiLyrics,
|
romajiLyrics,
|
||||||
settingsKey = 'default',
|
settingsKey = 'default',
|
||||||
source,
|
source,
|
||||||
@@ -308,15 +307,15 @@ export const SynchronizedKaraokeLyrics = ({
|
|||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSize}
|
fontSize={settings.fontSize}
|
||||||
text={`Provided by ${source}`}
|
text={`${source}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{settings.showMatch && remote && (
|
{settings.showMatch && (
|
||||||
<LyricLine
|
<LyricLine
|
||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSize}
|
fontSize={settings.fontSize}
|
||||||
text={`"${name} by ${artist}"`}
|
text={`${name} — ${artist}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{normalizedLyrics.map((rawLine, idx) => {
|
{normalizedLyrics.map((rawLine, idx) => {
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ export const SynchronizedLyrics = ({
|
|||||||
name,
|
name,
|
||||||
offsetMs,
|
offsetMs,
|
||||||
pronunciationLyrics,
|
pronunciationLyrics,
|
||||||
remote,
|
|
||||||
romajiLyrics,
|
romajiLyrics,
|
||||||
settingsKey = 'default',
|
settingsKey = 'default',
|
||||||
source,
|
source,
|
||||||
@@ -253,15 +252,15 @@ export const SynchronizedLyrics = ({
|
|||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSize}
|
fontSize={settings.fontSize}
|
||||||
text={`Provided by ${source}`}
|
text={`${source}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{settings.showMatch && remote && (
|
{settings.showMatch && (
|
||||||
<LyricLine
|
<LyricLine
|
||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSize}
|
fontSize={settings.fontSize}
|
||||||
text={`"${name} by ${artist}"`}
|
text={`${name} — ${artist}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{normalizedLyrics.map((rawLine, idx) => {
|
{normalizedLyrics.map((rawLine, idx) => {
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ export const UnsynchronizedLyrics = ({
|
|||||||
artist,
|
artist,
|
||||||
lyrics,
|
lyrics,
|
||||||
name,
|
name,
|
||||||
remote,
|
|
||||||
romajiLyrics,
|
romajiLyrics,
|
||||||
settingsKey = 'default',
|
settingsKey = 'default',
|
||||||
source,
|
source,
|
||||||
@@ -62,15 +61,15 @@ export const UnsynchronizedLyrics = ({
|
|||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSizeUnsync}
|
fontSize={settings.fontSizeUnsync}
|
||||||
text={`Provided by ${source}`}
|
text={`${source}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{settings.showMatch && remote && (
|
{settings.showMatch && (
|
||||||
<LyricLine
|
<LyricLine
|
||||||
alignment={settings.alignment}
|
alignment={settings.alignment}
|
||||||
className="lyric-credit"
|
className="lyric-credit"
|
||||||
fontSize={settings.fontSizeUnsync}
|
fontSize={settings.fontSizeUnsync}
|
||||||
text={`"${name} by ${artist}"`}
|
text={`${name} — ${artist}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{lines.map((text, idx) => (
|
{lines.map((text, idx) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user