chore: 🔊 log x swipe

This commit is contained in:
ThatOneCalculator 2022-08-22 22:19:11 -07:00
parent 4073d63f25
commit 9d69f2c1b3
2 changed files with 3 additions and 2 deletions

View file

@ -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",

View file

@ -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';
}