{"action":"created","issue":{"url":"https://api.github.com/repos/gemini-testing/gemini/issues/393","repository_url":"https://api.github.com/repos/gemini-testing/gemini","labels_url":"https://api.github.com/repos/gemini-testing/gemini/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/issues/393/comments","events_url":"https://api.github.com/repos/gemini-testing/gemini/issues/393/events","html_url":"https://github.com/gemini-testing/gemini/pull/393","id":140680084,"number":393,"title":"Applying pixelRatio to viewport dimension when calculating toImageCoordsFunction","user":{"login":"SwinX","id":854899,"avatar_url":"https://avatars.githubusercontent.com/u/854899?v=3","gravatar_id":"","url":"https://api.github.com/users/SwinX","html_url":"https://github.com/SwinX","followers_url":"https://api.github.com/users/SwinX/followers","following_url":"https://api.github.com/users/SwinX/following{/other_user}","gists_url":"https://api.github.com/users/SwinX/gists{/gist_id}","starred_url":"https://api.github.com/users/SwinX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwinX/subscriptions","organizations_url":"https://api.github.com/users/SwinX/orgs","repos_url":"https://api.github.com/users/SwinX/repos","events_url":"https://api.github.com/users/SwinX/events{/privacy}","received_events_url":"https://api.github.com/users/SwinX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gemini-testing/gemini/labels/review","name":"review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"SwinX","id":854899,"avatar_url":"https://avatars.githubusercontent.com/u/854899?v=3","gravatar_id":"","url":"https://api.github.com/users/SwinX","html_url":"https://github.com/SwinX","followers_url":"https://api.github.com/users/SwinX/followers","following_url":"https://api.github.com/users/SwinX/following{/other_user}","gists_url":"https://api.github.com/users/SwinX/gists{/gist_id}","starred_url":"https://api.github.com/users/SwinX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwinX/subscriptions","organizations_url":"https://api.github.com/users/SwinX/orgs","repos_url":"https://api.github.com/users/SwinX/repos","events_url":"https://api.github.com/users/SwinX/events{/privacy}","received_events_url":"https://api.github.com/users/SwinX/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-14T13:57:29Z","updated_at":"2016-03-14T14:40:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gemini-testing/gemini/pulls/393","html_url":"https://github.com/gemini-testing/gemini/pull/393","diff_url":"https://github.com/gemini-testing/gemini/pull/393.diff","patch_url":"https://github.com/gemini-testing/gemini/pull/393.patch"},"body":"Если определён `pixelRatio` и необходимо его использовать, то при вычислении необходимости применять `viewportOffset` `documentSize` умножается на `pixelRatio`, т.к. предполагается, что с клиента он приходит в логическом размере, а расчёты ведутся в физическом. "},"comment":{"url":"https://api.github.com/repos/gemini-testing/gemini/issues/comments/196341463","html_url":"https://github.com/gemini-testing/gemini/pull/393#issuecomment-196341463","issue_url":"https://api.github.com/repos/gemini-testing/gemini/issues/393","id":196341463,"user":{"login":"SwinX","id":854899,"avatar_url":"https://avatars.githubusercontent.com/u/854899?v=3","gravatar_id":"","url":"https://api.github.com/users/SwinX","html_url":"https://github.com/SwinX","followers_url":"https://api.github.com/users/SwinX/followers","following_url":"https://api.github.com/users/SwinX/following{/other_user}","gists_url":"https://api.github.com/users/SwinX/gists{/gist_id}","starred_url":"https://api.github.com/users/SwinX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwinX/subscriptions","organizations_url":"https://api.github.com/users/SwinX/orgs","repos_url":"https://api.github.com/users/SwinX/repos","events_url":"https://api.github.com/users/SwinX/events{/privacy}","received_events_url":"https://api.github.com/users/SwinX/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T14:40:03Z","updated_at":"2016-03-14T14:40:03Z","body":":up: "}}