aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.tsx
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-02-11 18:04:05 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-02-11 18:04:05 -0500
commitf689b3ae048941f23d67750ba488ca90bba578ee (patch)
treed3a9cff856de284af321d5dff497e717f3a5e615 /src/client/util/InteractionUtils.tsx
parentdc6453e27375a1b3d614a74b7fd1d83695f130d7 (diff)
some more fixes
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r--src/client/util/InteractionUtils.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index 8fc5e8098..184e37ba5 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -91,6 +91,7 @@ export namespace InteractionUtils {
}
export function IsType(e: PointerEvent | React.PointerEvent, type: string): boolean {
+ console.log(e.button);
switch (type) {
// pen and eraser are both pointer type 'pen', but pen is button 0 and eraser is button 5. -syip2
case PENTYPE: