[fix] duplicate code (#651)
This commit is contained in:
parent
79204d7ba5
commit
184d8cfd78
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ export function useShapeEvents(id: string) {
|
||||||
if ((e as any).dead) return
|
if ((e as any).dead) return
|
||||||
else (e as any).dead = true
|
else (e as any).dead = true
|
||||||
if (!inputs.pointerIsValid(e)) return
|
if (!inputs.pointerIsValid(e)) return
|
||||||
if (!inputs.pointerIsValid(e)) return
|
|
||||||
if (e.button === 2) {
|
if (e.button === 2) {
|
||||||
callbacks.onRightPointShape?.(inputs.pointerDown(e, id), e)
|
callbacks.onRightPointShape?.(inputs.pointerDown(e, id), e)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue