mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 14:52:09 +08:00
添加说明
This commit is contained in:
parent
9d0f03aadd
commit
8f67eede61
@ -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={{
|
||||
|
@ -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={{
|
||||
|
Loading…
x
Reference in New Issue
Block a user