Fixed the issue of being too sensitive when sliding and dragging out the TOC

This commit is contained in:
PrinOrange
2024-01-04 12:47:56 +08:00
parent 200ea30bbd
commit eb5269a767

View File

@@ -52,6 +52,7 @@ const ReaderPage = (props: ReaderPageProps) => {
onSwipedRight: () => { onSwipedRight: () => {
setIsTOCOpen(true); setIsTOCOpen(true);
}, },
delta: 200,
}); });
return ( return (
<Page> <Page>