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,10 +75,10 @@ class TouchHandler {
|
|||
|
||||
if (distance > 75) {
|
||||
toggleEntryStatus(this.touch.element);
|
||||
}
|
||||
|
||||
this.touch.element.style.opacity = 1;
|
||||
this.touch.element.style.transform = "none";
|
||||
} else {
|
||||
this.touch.element.style.opacity = 1;
|
||||
this.touch.element.style.transform = "none";
|
||||
}
|
||||
}
|
||||
|
||||
this.reset();
|
||||
|
|
Loading…
Reference in a new issue