Call onRightPointCanvas in the canvas onPointerDown handler (#1001)
This commit is contained in:
parent
a7618ff854
commit
c5bee7b1be
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ export function useCanvasEvents() {
|
||||||
|
|
||||||
// On right click
|
// On right click
|
||||||
if (e.button === 2) {
|
if (e.button === 2) {
|
||||||
|
callbacks.onRightPointCanvas?.(inputs.pointerDown(e, 'canvas'), e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue