{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/2817","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/2817/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/2817/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/2817/events","html_url":"https://github.com/kangax/fabric.js/pull/2817","id":136875824,"number":2817,"title":"Change location of rect in 1x1 case","user":{"login":"asteriskman7","id":11001745,"avatar_url":"https://avatars.githubusercontent.com/u/11001745?v=3","gravatar_id":"","url":"https://api.github.com/users/asteriskman7","html_url":"https://github.com/asteriskman7","followers_url":"https://api.github.com/users/asteriskman7/followers","following_url":"https://api.github.com/users/asteriskman7/following{/other_user}","gists_url":"https://api.github.com/users/asteriskman7/gists{/gist_id}","starred_url":"https://api.github.com/users/asteriskman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteriskman7/subscriptions","organizations_url":"https://api.github.com/users/asteriskman7/orgs","repos_url":"https://api.github.com/users/asteriskman7/repos","events_url":"https://api.github.com/users/asteriskman7/events{/privacy}","received_events_url":"https://api.github.com/users/asteriskman7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-27T04:00:46Z","updated_at":"2016-03-01T14:07:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kangax/fabric.js/pulls/2817","html_url":"https://github.com/kangax/fabric.js/pull/2817","diff_url":"https://github.com/kangax/fabric.js/pull/2817.diff","patch_url":"https://github.com/kangax/fabric.js/pull/2817.patch"},"body":"As can be seen in this jsfiddle, https://jsfiddle.net/asteriskman/kk6v0tu4/ , the optimized 1x1 rect was being placed incorrectly. It must be offset by -0.5 in the x and y direction to line up with other rects that are not subject to the 1x1 optimization."},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/190735284","html_url":"https://github.com/kangax/fabric.js/pull/2817#issuecomment-190735284","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/2817","id":190735284,"user":{"login":"asteriskman7","id":11001745,"avatar_url":"https://avatars.githubusercontent.com/u/11001745?v=3","gravatar_id":"","url":"https://api.github.com/users/asteriskman7","html_url":"https://github.com/asteriskman7","followers_url":"https://api.github.com/users/asteriskman7/followers","following_url":"https://api.github.com/users/asteriskman7/following{/other_user}","gists_url":"https://api.github.com/users/asteriskman7/gists{/gist_id}","starred_url":"https://api.github.com/users/asteriskman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asteriskman7/subscriptions","organizations_url":"https://api.github.com/users/asteriskman7/orgs","repos_url":"https://api.github.com/users/asteriskman7/repos","events_url":"https://api.github.com/users/asteriskman7/events{/privacy}","received_events_url":"https://api.github.com/users/asteriskman7/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T14:07:13Z","updated_at":"2016-03-01T14:07:13Z","body":"Yes, I will make appropriate screenshots."}}