aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.tsx
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2020-02-11 19:57:03 -0500
committerandrewdkim <adkim414@gmail.com>2020-02-11 19:57:03 -0500
commitb62a1e3d940f03272cd20acd64e768ff093867c6 (patch)
treedbd71d9f5304eda7cdcbd6c2a8a7410db71ba54b /src/client/util/InteractionUtils.tsx
parent45de2817224d06ab83f81ceb372c40f4c9185d2e (diff)
parent4b8516079a580a420b407f191d9177c31b17c93d (diff)
Merge branch 'pen' of https://github.com/browngraphicslab/Dash-Web into radial_menu_fixes2
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: