mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 13:12:09 +08:00
调整横屏下的播放详情页进度栏高度
This commit is contained in:
parent
920251e5ca
commit
9b43fb6387
@ -52,8 +52,8 @@ const Progress = ({ progress, bufferedProgress, duration }) => {
|
||||
|
||||
const { width } = getWindowSise()
|
||||
const progressContentPadding = width * 0.0140625
|
||||
const progressHeight = width * 0.0046875
|
||||
const progressDotSize = progressHeight * 4
|
||||
const progressHeight = width * 0.005
|
||||
const progressDotSize = progressHeight * 3.8
|
||||
const styles = StyleSheet.create({
|
||||
progress: {
|
||||
width: '100%',
|
||||
|
@ -20,7 +20,7 @@ const PlayTimeMax = memo(({ timeStr, size }) => {
|
||||
export default () => {
|
||||
const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime()
|
||||
const { window } = useDimensions()
|
||||
const size = useMemo(() => window.width * 0.4 * 0.4 * 0.14, [window.width])
|
||||
const size = useMemo(() => window.width * 0.4 * 0.4 * 0.125, [window.width])
|
||||
|
||||
return (
|
||||
<View style={styles.container} nativeID="player">
|
||||
|
Loading…
x
Reference in New Issue
Block a user