mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: disable contextmenu on non-secondary pen
events or touch
(#4675)
This commit is contained in:
parent
d450c36581
commit
5007df6522
2 changed files with 11 additions and 1 deletions
|
@ -24,7 +24,7 @@ export const POINTER_BUTTON = {
|
|||
WHEEL: 1,
|
||||
SECONDARY: 2,
|
||||
TOUCH: -1,
|
||||
};
|
||||
} as const;
|
||||
|
||||
export enum EVENT {
|
||||
COPY = "copy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue