From 9d69f2c1b35f4a6fbbe713f15694a8347607c791 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 22:19:11 -0700 Subject: [PATCH] chore: :loud_sound: log x swipe --- package.json | 2 +- packages/client/src/pages/timeline.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7a1946e9a..5d3f241f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.118.1-calc.12.1", + "version": "12.118.1-calc.12.2", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index f2144441b..4693b6c46 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -274,8 +274,9 @@ if (isMobile.value) { timelines.push('global'); } - if (Math.abs(xDiff) > Math.abs(yDiff) && Math.abs(xDiff) > 50) { + if (Math.abs(xDiff) > Math.abs(yDiff)) { if (xDiff < 0) { + console.log(Math.abs(xDiff)); if (src === 'home') { next = 'global'; }