diff options
author | andrewdkim <adkim414@gmail.com> | 2020-02-12 20:28:44 -0500 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2020-02-12 20:28:44 -0500 |
commit | e100f189047ee05aad0864064e4764da073cfc19 (patch) | |
tree | 0c3d05649c8b6329ffd3862bce30e77e86d61006 /src/client/util/InteractionUtils.tsx | |
parent | d1b9049fe50e401ac1a33177babd0cfa4b32f6a0 (diff) | |
parent | 33d5a12af14e1ed50e5c3164b363fbbc253506a0 (diff) |
merge
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r-- | src/client/util/InteractionUtils.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index 2eec02a42..cf51b8e89 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -108,6 +108,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: |