From 805a3f37930d13e960f0df6573f8f1f8abd59f41 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 7a1946e9ac..5d3f241f3e 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 f2144441b9..4693b6c468 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'; }