react-three-arjs icon indicating copy to clipboard operation
react-three-arjs copied to clipboard

Override events prop with custom pointer handling

Open j-era opened this issue 3 years ago • 1 comments

Instead of using the r3f default offsetX/offsetY values use clientX/clientY here, because ar.js adds a precomputed left-margin offset which is not taken into account by r3f

j-era avatar Aug 01 '22 13:08 j-era

Hey @ThomasRutzer, time for a review session? ;)

j-era avatar Aug 01 '22 13:08 j-era