pixijs

comparing interaction events

An odd bug when comparing PIXI.interaction.InteractionEvent.data.global values. When inside an iframe on newgrounds x and y values recorded on pointerdown and compared with those returned by pointerup shows variance of up to 1.3px even when the pointer had not moved.

I can’t reproduce this issue outside of a newgrounds iframe, nor inside a newgrounds iframe with developer tools open.