mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-23 03:21:21 -05:00
smol fixes
This commit is contained in:
@@ -32,32 +32,30 @@ export function HorizontalSlider({
|
||||
props?: TamaguiSliderProps | undefined
|
||||
}) : React.JSX.Element {
|
||||
|
||||
const theme = useTheme()
|
||||
|
||||
|
||||
return (
|
||||
<TamaguiSlider
|
||||
width={width}
|
||||
value={value ? [value] : []}
|
||||
max={max}
|
||||
orientation="horizontal"
|
||||
marginHorizontal={10}
|
||||
{ ...props }
|
||||
>
|
||||
<JellifySliderTrack size="$4">
|
||||
<JellifyActiveSliderTrack size={"$4"} />
|
||||
</JellifySliderTrack>
|
||||
<JellifySliderThumb
|
||||
circular
|
||||
index={0}
|
||||
size={"$1"}
|
||||
hitSlop={{
|
||||
top: 35,
|
||||
right: 70,
|
||||
bottom: 70,
|
||||
left: 70
|
||||
}}
|
||||
/>
|
||||
width={width}
|
||||
value={value ? [value] : []}
|
||||
max={max}
|
||||
step={1}
|
||||
orientation="horizontal"
|
||||
marginHorizontal={10}
|
||||
{ ...props }
|
||||
>
|
||||
<JellifySliderTrack size="$4">
|
||||
<JellifyActiveSliderTrack size={"$4"} />
|
||||
</JellifySliderTrack>
|
||||
<JellifySliderThumb
|
||||
circular
|
||||
index={0}
|
||||
size={"$1"}
|
||||
hitSlop={{
|
||||
top: 35,
|
||||
right: 70,
|
||||
bottom: 70,
|
||||
left: 70
|
||||
}}
|
||||
/>
|
||||
</TamaguiSlider>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ export default function Scrubber() : React.JSX.Element {
|
||||
/>
|
||||
</GestureDetector>
|
||||
|
||||
<XStack margin={"$2"}>
|
||||
<XStack margin={"$2"} marginTop={"$3"}>
|
||||
<YStack flex={1} alignItems="flex-start">
|
||||
<RunTimeSeconds>{Math.floor(position / ProgressMultiplier)}</RunTimeSeconds>
|
||||
</YStack>
|
||||
|
||||
Reference in New Issue
Block a user