fix: disable contextmenu on non-secondary pen events or touch (#4675)

This commit is contained in:
David Luzar
2022-02-07 20:01:36 +01:00
committed by GitHub
parent d450c36581
commit 5007df6522
2 changed files with 11 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export const POINTER_BUTTON = {
WHEEL: 1,
SECONDARY: 2,
TOUCH: -1,
};
} as const;
export enum EVENT {
COPY = "copy",