{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/3015","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/3015/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/3015/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/3015/events","html_url":"https://github.com/kangax/fabric.js/issues/3015","id":157185103,"number":3015,"title":"Canvas zoom/position bug [$5]","user":{"login":"FeaRCODE","id":6901336,"avatar_url":"https://avatars.githubusercontent.com/u/6901336?v=3","gravatar_id":"","url":"https://api.github.com/users/FeaRCODE","html_url":"https://github.com/FeaRCODE","followers_url":"https://api.github.com/users/FeaRCODE/followers","following_url":"https://api.github.com/users/FeaRCODE/following{/other_user}","gists_url":"https://api.github.com/users/FeaRCODE/gists{/gist_id}","starred_url":"https://api.github.com/users/FeaRCODE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeaRCODE/subscriptions","organizations_url":"https://api.github.com/users/FeaRCODE/orgs","repos_url":"https://api.github.com/users/FeaRCODE/repos","events_url":"https://api.github.com/users/FeaRCODE/events{/privacy}","received_events_url":"https://api.github.com/users/FeaRCODE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kangax/fabric.js/labels/bounty","name":"bounty","color":"129e5e"},{"url":"https://api.github.com/repos/kangax/fabric.js/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-27T11:18:07Z","updated_at":"2016-06-01T18:39:56Z","closed_at":null,"body":"## Version\r\n1.6.2\r\n\r\n## Test Case\r\nhttps://jsfiddle.net/qkj8o6eh/1/\r\n\r\n## Expected Behavior\r\nWhen I initially set the zoom of my canvas (along with the canvas size and background image size)  to 1, i add a rectangle. This rectangle acts as a marker for the center of our canvas. When we scale the canvas (and also the background image and canvas size respectfully) I would expect the center of the canvas to remain the same, regardless of the zoom level. This expected result would be the two rectangles centered on the canvas.\r\n\r\n## Actual Behavior\r\nInstead, what we see is the position of the second rectangle differs when we zoom the canvas to something other than the initial value \"1\".\r\n\r\n## NOTES:\r\nKeep in mind, this might also effect other align functions, (i.e. `centerObjectH`, etc.) other than `object.center()`.\r\n\r\nhttps://api.bountysource.com/badge/issue?issue_id=34629617"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/223086105","html_url":"https://github.com/kangax/fabric.js/issues/3015#issuecomment-223086105","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/3015","id":223086105,"user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars.githubusercontent.com/u/1194048?v=3","gravatar_id":"","url":"https://api.github.com/users/asturur","html_url":"https://github.com/asturur","followers_url":"https://api.github.com/users/asturur/followers","following_url":"https://api.github.com/users/asturur/following{/other_user}","gists_url":"https://api.github.com/users/asturur/gists{/gist_id}","starred_url":"https://api.github.com/users/asturur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asturur/subscriptions","organizations_url":"https://api.github.com/users/asturur/orgs","repos_url":"https://api.github.com/users/asturur/repos","events_url":"https://api.github.com/users/asturur/events{/privacy}","received_events_url":"https://api.github.com/users/asturur/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T18:39:56Z","updated_at":"2016-06-01T18:39:56Z","body":"There is a PR that will add the methods for this. They will be separate methods. I wrote just one for now, check #3017."}}
{"actor":{"display_login":"asturur"}}