mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:23:28 +00:00
fix: slider lenght & duration position
This commit is contained in:
@@ -34,7 +34,7 @@ export const BottomControls = () => {
|
|||||||
<Controls>
|
<Controls>
|
||||||
<View className="flex h-16 w-full flex-col items-center justify-center">
|
<View className="flex h-16 w-full flex-col items-center justify-center">
|
||||||
<View className="w-full px-4">
|
<View className="w-full px-4">
|
||||||
<View className="flex flex-row items-center">
|
<View className="ml-10 flex flex-row items-center">
|
||||||
<Text className="font-bold">{getCurrentTime()}</Text>
|
<Text className="font-bold">{getCurrentTime()}</Text>
|
||||||
<Text className="mx-1 font-bold">/</Text>
|
<Text className="mx-1 font-bold">/</Text>
|
||||||
<TouchableOpacity onPress={toggleTimeDisplay}>
|
<TouchableOpacity onPress={toggleTimeDisplay}>
|
||||||
|
@@ -36,7 +36,7 @@ const VideoSlider = ({ onSlidingComplete }: VideoSliderProps) => {
|
|||||||
const status = usePlayerStore((state) => state.status);
|
const status = usePlayerStore((state) => state.status);
|
||||||
const setIsIdle = usePlayerStore((state) => state.setIsIdle);
|
const setIsIdle = usePlayerStore((state) => state.setIsIdle);
|
||||||
|
|
||||||
const width = Dimensions.get("screen").width - 200;
|
const width = Dimensions.get("screen").width - 100;
|
||||||
const knobSize_ = 20;
|
const knobSize_ = 20;
|
||||||
const trackSize_ = 8;
|
const trackSize_ = 8;
|
||||||
const minimumValue = 0;
|
const minimumValue = 0;
|
||||||
|
Reference in New Issue
Block a user