Do not reset touch-item if successfully swiped
This commit is contained in:
parent
f18ded6117
commit
3dda84bf9a
1 changed files with 4 additions and 4 deletions
|
@ -75,11 +75,11 @@ class TouchHandler {
|
||||||
|
|
||||||
if (distance > 75) {
|
if (distance > 75) {
|
||||||
toggleEntryStatus(this.touch.element);
|
toggleEntryStatus(this.touch.element);
|
||||||
}
|
} else {
|
||||||
|
|
||||||
this.touch.element.style.opacity = 1;
|
this.touch.element.style.opacity = 1;
|
||||||
this.touch.element.style.transform = "none";
|
this.touch.element.style.transform = "none";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.reset();
|
this.reset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue