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
1 changed files with 4 additions and 4 deletions

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