{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/1725","repository_url":"https://api.github.com/repos/urho3d/Urho3D","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1725/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1725/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1725/events","html_url":"https://github.com/urho3d/Urho3D/pull/1725","id":197415243,"number":1725,"title":"Proposed fix for Issue #1252: mouse scaling on Retina displays","user":{"login":"elissa-ross","id":22896016,"avatar_url":"https://avatars.githubusercontent.com/u/22896016?v=3","gravatar_id":"","url":"https://api.github.com/users/elissa-ross","html_url":"https://github.com/elissa-ross","followers_url":"https://api.github.com/users/elissa-ross/followers","following_url":"https://api.github.com/users/elissa-ross/following{/other_user}","gists_url":"https://api.github.com/users/elissa-ross/gists{/gist_id}","starred_url":"https://api.github.com/users/elissa-ross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elissa-ross/subscriptions","organizations_url":"https://api.github.com/users/elissa-ross/orgs","repos_url":"https://api.github.com/users/elissa-ross/repos","events_url":"https://api.github.com/users/elissa-ross/events{/privacy}","received_events_url":"https://api.github.com/users/elissa-ross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-23T19:10:56Z","updated_at":"2016-12-24T01:02:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/urho3d/Urho3D/pulls/1725","html_url":"https://github.com/urho3d/Urho3D/pull/1725","diff_url":"https://github.com/urho3d/Urho3D/pull/1725.diff","patch_url":"https://github.com/urho3d/Urho3D/pull/1725.patch"},"body":"I've added some code to address the mouse position issues on Retina displays with HighDPI enabled (issue #1252). This fix works for our purposes but there may be other places where the issue comes up that I haven't encountered. \r\n\r\nRegarding the UI scaling, we find that with HighDPI enabled on OSX the UI should be scaled at about 1.5X. This is possible using the Scale() functionality."},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/269061472","html_url":"https://github.com/urho3d/Urho3D/pull/1725#issuecomment-269061472","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1725","id":269061472,"user":{"login":"weitjong","id":5548048,"avatar_url":"https://avatars.githubusercontent.com/u/5548048?v=3","gravatar_id":"","url":"https://api.github.com/users/weitjong","html_url":"https://github.com/weitjong","followers_url":"https://api.github.com/users/weitjong/followers","following_url":"https://api.github.com/users/weitjong/following{/other_user}","gists_url":"https://api.github.com/users/weitjong/gists{/gist_id}","starred_url":"https://api.github.com/users/weitjong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitjong/subscriptions","organizations_url":"https://api.github.com/users/weitjong/orgs","repos_url":"https://api.github.com/users/weitjong/repos","events_url":"https://api.github.com/users/weitjong/events{/privacy}","received_events_url":"https://api.github.com/users/weitjong/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T01:02:12Z","updated_at":"2016-12-24T01:02:12Z","body":"Thanks for your PR. IMHO, the scaling ratio should not be computed at every mouse move event. Probably the ratio should be precalculated in the screen mode setting event. Please use the same code style for brace placement as ours. Also avoid adding project-specific settings into ```.gitignore``` file unless they are commonly used by other projects, or otherwise.our ```.gitignore``` will be hard to maintain."}}
{"actor":{"display_login":"weitjong"}}