chore: 🔊 log x swipe
This commit is contained in:
parent
b78b0a29e5
commit
805a3f3793
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.118.1-calc.12.1",
|
"version": "12.118.1-calc.12.2",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -274,8 +274,9 @@ if (isMobile.value) {
|
||||||
timelines.push('global');
|
timelines.push('global');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Math.abs(xDiff) > Math.abs(yDiff) && Math.abs(xDiff) > 50) {
|
if (Math.abs(xDiff) > Math.abs(yDiff)) {
|
||||||
if (xDiff < 0) {
|
if (xDiff < 0) {
|
||||||
|
console.log(Math.abs(xDiff));
|
||||||
if (src === 'home') {
|
if (src === 'home') {
|
||||||
next = 'global';
|
next = 'global';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue