Do not reset touch-item if successfully swiped

This commit is contained in:
Jacob Duba 2022-01-15 12:47:25 -06:00 committed by GitHub
parent f18ded6117
commit 3dda84bf9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();