fix(whiteboard): reverting contextMenu transitioning event

This commit is contained in:
Peng Xiao
2022-11-11 00:41:19 +08:00
committed by Tienson Qin
parent bebb8cf897
commit 2b32f77809

View File

@@ -47,8 +47,7 @@ export class IdleState<
} = this.app
if (event.button === 2) {
// relies on @radix-ui/react-context-menu Root's onOpenChange now
// this.tool.transition('contextMenu', info)
this.tool.transition('contextMenu', info)
return
}