aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-07-02 14:43:04 -0400
committerGitHub <noreply@github.com>2020-07-02 14:43:04 -0400
commitda0b78bb21d29cb861e1b684023b991b9f95e62b (patch)
tree9e37ba065eb90ad7e716d41bd2f85ecc3b003dc7 /src/client/util/InteractionUtils.tsx
parentd8fe61a05e676fb9e44a191b6090d3274963e836 (diff)
parent59868be3182e049297f7f86da368cf2733870fb2 (diff)
Merge pull request #426 from browngraphicslab/mobile_revision_direct
Dash Mobile
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r--src/client/util/InteractionUtils.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index edeb461e0..02b444cd3 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -27,7 +27,7 @@ export namespace InteractionUtils {
export interface MultiTouchEventDisposer { (): void; }
/**
- *
+ *
* @param element - element to turn into a touch target
* @param startFunc - event handler, typically Touchable.onTouchStart (classes that inherit touchable can pass in this.onTouchStart)
*/
@@ -278,8 +278,8 @@ export namespace InteractionUtils {
/**
* Returns euclidean distance between two points
- * @param pt1
- * @param pt2
+ * @param pt1
+ * @param pt2
*/
export function TwoPointEuclidist(pt1: React.Touch, pt2: React.Touch): number {
return Math.sqrt(Math.pow(pt1.clientX - pt2.clientX, 2) + Math.pow(pt1.clientY - pt2.clientY, 2));
@@ -410,4 +410,4 @@ export namespace InteractionUtils {
// }
// }
}
-} \ No newline at end of file
+}