调整横屏下的播放详情页进度栏高度

This commit is contained in:
lyswhut 2022-01-21 08:59:42 +08:00
parent 920251e5ca
commit 9b43fb6387
2 changed files with 3 additions and 3 deletions

View File

@ -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%',

View File

@ -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">