Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: swipe threshold too small on phones

thecodrr320a630f8689
diff --git a/apps/web/src/components/navigation-menu/index.js b/apps/web/src/components/navigation-menu/index.js
index 46dece4d1..3826f3079 100644
--- a/apps/web/src/components/navigation-menu/index.js
+++ b/apps/web/src/components/navigation-menu/index.js
@@ -71,10 +71,10 @@ function NavigationMenu(props) {
app.ontouchmove = function (event) {
if (event.touches.length > 1) return;
let currentX = event.touches[0].pageX;
- if (currentX - startX > 50) {
+ if (currentX - startX > 100) {
toggleSideMenu(true);
startX = currentX;
- } else if (currentX - startX < -50) {
+ } else if (currentX - startX < -100) {
toggleSideMenu(false);
startX = currentX;
}