Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContextPoint incorrect with scaled custom device when listening to screen #571

Open
IanBellomy opened this issue Feb 28, 2018 · 0 comments

Comments

@IanBellomy
Copy link

IanBellomy commented Feb 28, 2018

When listening to Framer.Device.screen.onMouseMove(), and when there is a custom device, and when the window is not 100%, the event.contextPoint coordinates are not with respect to the scaled screen space as they are when listening to a layer. I'm not sure if this is expected behavior (contextPoint isn't technically in the built-in documentation) but it is kind-of undesirable... Example: https://framer.cloud/RYPBi

The coordinates listed in this image are for the top right corner.
screen shot 2018-02-28 at 11 42 30 am

@IanBellomy IanBellomy changed the title ContextPoint incorrect with custom device and listening to screen ContextPoint incorrect with scaled custom device when listening to screen Feb 28, 2018
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

No branches or pull requests

1 participant