|
@@ -55,9 +55,9 @@ export class CharacterCardComponent {
|
|
|
|
|
|
onTouchEnd(event: any) {
|
|
|
const touchEndX = event.changedTouches[0].clientX;
|
|
|
- if (touchEndX > this.touchStartX + 100) {
|
|
|
+ if (touchEndX > this.touchStartX + 50) {
|
|
|
document.getElementById('delete-button')?.classList.add('show');
|
|
|
- } else if (touchEndX < this.touchStartX - 100) {
|
|
|
+ } else if (touchEndX < this.touchStartX - 50) {
|
|
|
document.getElementById('delete-button')?.classList.remove('show');
|
|
|
}
|
|
|
}
|