添加说明

This commit is contained in:
lyswhut 2023-03-26 12:01:11 +08:00
parent 9d0f03aadd
commit 8f67eede61
2 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,8 @@ const LrcLine = memo(({ line, lineNum, activeLine }: {
const size = lrcFontSize / 10
const lineHeight = setSpText(size) * 1.25
// textBreakStrategy="simple" 用于解决某些设备上字体被截断的问题
// https://stackoverflow.com/a/72822360
return (
<View style={styles.line}>
<Text style={{

View File

@ -64,6 +64,8 @@ const LrcLine = memo(({ line, lineNum, activeLine }: {
const size = lrcFontSize / 10
const lineHeight = setSpText(size) * 1.25
// textBreakStrategy="simple" 用于解决某些设备上字体被截断的问题
// https://stackoverflow.com/a/72822360
return (
<View style={styles.line}>
<Text style={{