fix player web

This commit is contained in:
2025-10-07 12:15:17 +02:00
parent 0c9e9f5f56
commit 6734dea010
5 changed files with 145 additions and 101 deletions
@@ -22,7 +22,7 @@ const AnimatedPaginationDot = ({
}) => {
const animatedValue = useMemo(
() => scrollValue || new Animated.Value(0),
[scrollValue],
[scrollValue]
);
const { width, height } = useWindowDimensions();
@@ -36,7 +36,10 @@ const AnimatedPaginationDot = ({
return Math.max(width, 1);
}, [height, itemDimension, orientation, width]);
const resolvedDotStyle = useMemo(() => StyleSheet.flatten(dotStyle) || {}, [dotStyle]);
const resolvedDotStyle = useMemo(
() => StyleSheet.flatten(dotStyle) || {},
[dotStyle]
);
const defaultSize = Math.max(baseDotSize, 1);
const baseWidth =
typeof resolvedDotStyle?.width === "number"