-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
GlfwMouseInput: scale mouse coords only if Retina AppSetting is true #1746
Conversation
The fix is somewhat tricky to test. Due to persistent settings and the recent change of default, it's possible to have the Retina flag set to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Thanks for your help @richardTingle and @bob0bob! |
…1746) * GlfwMouseInput: scale mouse coords only if Retina AppSetting is true * GlfwMouseInput: some minor code cleanup * GlfwMouseInput: check for scaled content in initCurrentMousePosition()
This fix works for me after getting rid of the "saved" settings, because JME already set it to "true" by default and re-running brought them back, but when I erased the settings, it worked great. |
Proposed fix for #1745.