aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Touchable.tsx
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-01-13 17:14:50 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-01-13 17:14:50 -0500
commit4daad3765bd3c5693b9aff2ce53ca8b81804d000 (patch)
treee04cda5b63598aa5eb22bd802148e11e375be786 /src/client/views/Touchable.tsx
parent32ff2b6e39dfd943c784c3cb6afa8806ad3d11b9 (diff)
some fixes
Diffstat (limited to 'src/client/views/Touchable.tsx')
-rw-r--r--src/client/views/Touchable.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/Touchable.tsx b/src/client/views/Touchable.tsx
index 49b2116f1..7d9184bea 100644
--- a/src/client/views/Touchable.tsx
+++ b/src/client/views/Touchable.tsx
@@ -137,11 +137,9 @@ export abstract class Touchable<T = {}> extends React.Component<T> {
}
handle1PointerHoldStart = (e: React.TouchEvent): any => {
- console.log("Hold");
e.stopPropagation();
e.preventDefault();
document.removeEventListener("touchmove", this.onTouch);
- document.removeEventListener("touchend", this.onTouchEnd);
}
} \ No newline at end of file