mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-14 08:49:41 +05:00
feat: allow to drag slider in episode selector
This commit is contained in:
parent
66721c6d6a
commit
9e4bf1ac71
2 changed files with 11 additions and 3 deletions
|
@ -67,7 +67,10 @@ export const EpisodeSelector = (props: {
|
|||
enabled: true,
|
||||
sensitivity: 4,
|
||||
}}
|
||||
scrollbar={true}
|
||||
scrollbar={{
|
||||
enabled: true,
|
||||
draggable: true,
|
||||
}}
|
||||
allowTouchMove={true}
|
||||
style={
|
||||
{
|
||||
|
@ -79,6 +82,7 @@ export const EpisodeSelector = (props: {
|
|||
<SwiperSlide
|
||||
key={`episode_${episode.position}`}
|
||||
style={{ maxWidth: "fit-content" }}
|
||||
className="pb-2"
|
||||
>
|
||||
<Button
|
||||
color={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue