Call onRightPointCanvas in the canvas onPointerDown handler (#1001)

This commit is contained in:
James Vaughan 2022-10-03 03:56:13 -07:00 committed by GitHub
parent a7618ff854
commit c5bee7b1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ export function useCanvasEvents() {
// On right click
if (e.button === 2) {
callbacks.onRightPointCanvas?.(inputs.pointerDown(e, 'canvas'), e)
return
}