diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 34b3eb10..8af0401c 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -54,7 +54,7 @@ function checkDirection() { const screenWidth = window.innerWidth; const swipeDistance = Math.abs(touchend.screenX - touchstart.screenX); - if (touchstart.clientX < 40 && swipeDistance >= screenWidth / 4) { + if (touchstart.clientX < 40 && swipeDistance >= screenWidth / 8) { if (touchend.screenX < touchstart.screenX) { showSidebar.set(false); }