{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/367","labels_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/367/comments","events_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/367/events","html_url":"https://github.com/PistonDevelopers/conrod/issues/367","id":67901592,"number":367,"title":"Use `Context` from top level to solve Retina problem","user":{"login":"bvssvni","id":1743862,"avatar_url":"https://avatars.githubusercontent.com/u/1743862?v=3","gravatar_id":"","url":"https://api.github.com/users/bvssvni","html_url":"https://github.com/bvssvni","followers_url":"https://api.github.com/users/bvssvni/followers","following_url":"https://api.github.com/users/bvssvni/following{/other_user}","gists_url":"https://api.github.com/users/bvssvni/gists{/gist_id}","starred_url":"https://api.github.com/users/bvssvni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvssvni/subscriptions","organizations_url":"https://api.github.com/users/bvssvni/orgs","repos_url":"https://api.github.com/users/bvssvni/repos","events_url":"https://api.github.com/users/bvssvni/events{/privacy}","received_events_url":"https://api.github.com/users/bvssvni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PistonDevelopers/conrod/labels/draft","name":"draft","color":"e11d21"},{"url":"https://api.github.com/repos/PistonDevelopers/conrod/labels/hard","name":"hard","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-12T11:14:49Z","updated_at":"2015-04-20T10:28:29Z","closed_at":"2015-04-20T10:28:29Z","body":"See https://github.com/PistonDevelopers/conrod/issues/363\r\n\r\nCurrently the code sets up a `Context` with `Context::abs`. It should be using `Context::new_viewport` which is normally computed from `RenderArgs::viewport`. This new setup of context should ensure the coordinates is in the upper left corner in points (this might need some fixing).\r\n\r\nAnyway, we should not call `Context::abs` but pass the transform around in some way, perhaps using `Ui`."},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/comments/94417221","html_url":"https://github.com/PistonDevelopers/conrod/issues/367#issuecomment-94417221","issue_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/367","id":94417221,"user":{"login":"mitchmindtree","id":4587373,"avatar_url":"https://avatars.githubusercontent.com/u/4587373?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchmindtree","html_url":"https://github.com/mitchmindtree","followers_url":"https://api.github.com/users/mitchmindtree/followers","following_url":"https://api.github.com/users/mitchmindtree/following{/other_user}","gists_url":"https://api.github.com/users/mitchmindtree/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchmindtree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchmindtree/subscriptions","organizations_url":"https://api.github.com/users/mitchmindtree/orgs","repos_url":"https://api.github.com/users/mitchmindtree/repos","events_url":"https://api.github.com/users/mitchmindtree/events{/privacy}","received_events_url":"https://api.github.com/users/mitchmindtree/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T10:28:29Z","updated_at":"2015-04-20T10:28:29Z","body":"Turns out we just had to apply the hidpi to the `draw_size` method instead of `size` (and in turn also apply it tot he cursor position). Closing this for now, if anyone still has issues feel free to reopen.\r\n\r\nClosed by [this PR](https://github.com/PistonDevelopers/glutin_window/pull/29)."}}