fix: remove context menu on canvas
This commit is contained in:
parent
e07d0522a7
commit
6892f0b9ca
1 changed files with 6 additions and 1 deletions
|
|
@ -298,7 +298,12 @@ function Canvas() {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={stageContainerRef} className="relative w-full h-full bg-zinc-200 dark:bg-black" style={{ cursor: cssCursor }}>
|
<div
|
||||||
|
ref={stageContainerRef}
|
||||||
|
onContextMenu={() => null}
|
||||||
|
style={{ cursor: cssCursor }}
|
||||||
|
className="relative w-full h-full bg-zinc-200 dark:bg-black"
|
||||||
|
>
|
||||||
<Stage
|
<Stage
|
||||||
width={stageSize.width}
|
width={stageSize.width}
|
||||||
height={stageSize.height}
|
height={stageSize.height}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue