Skip to content

Conversation

@action-script
Copy link

When a pixel ratio is set by Renderer.setPixelRatio, the Mouse function automatically converts it to a integer. That creates a big inaccuracy when calculating the screen coordinates.

setPixelRatio('auto') can set a float value and those decimal will be ignored when calculating the mouse coordinates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant