{"action":"created","issue":{"url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/29","labels_url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/29/comments","events_url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/29/events","html_url":"https://github.com/rstgroup/fabricjs-viewport/issues/29","id":91775945,"number":29,"title":"Back to center","user":{"login":"benjick","id":430872,"avatar_url":"https://avatars.githubusercontent.com/u/430872?v=3","gravatar_id":"","url":"https://api.github.com/users/benjick","html_url":"https://github.com/benjick","followers_url":"https://api.github.com/users/benjick/followers","following_url":"https://api.github.com/users/benjick/following{/other_user}","gists_url":"https://api.github.com/users/benjick/gists{/gist_id}","starred_url":"https://api.github.com/users/benjick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjick/subscriptions","organizations_url":"https://api.github.com/users/benjick/orgs","repos_url":"https://api.github.com/users/benjick/repos","events_url":"https://api.github.com/users/benjick/events{/privacy}","received_events_url":"https://api.github.com/users/benjick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-29T11:14:57Z","updated_at":"2015-07-01T14:42:34Z","closed_at":null,"body":"Hi\r\n\r\nIs there any way to \"re-center\" the viewport after panning? I would like a button or something that moves the viewport back into the center"},"comment":{"url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/comments/117702097","html_url":"https://github.com/rstgroup/fabricjs-viewport/issues/29#issuecomment-117702097","issue_url":"https://api.github.com/repos/rstgroup/fabricjs-viewport/issues/29","id":117702097,"user":{"login":"disjunction","id":679693,"avatar_url":"https://avatars.githubusercontent.com/u/679693?v=3","gravatar_id":"","url":"https://api.github.com/users/disjunction","html_url":"https://github.com/disjunction","followers_url":"https://api.github.com/users/disjunction/followers","following_url":"https://api.github.com/users/disjunction/following{/other_user}","gists_url":"https://api.github.com/users/disjunction/gists{/gist_id}","starred_url":"https://api.github.com/users/disjunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disjunction/subscriptions","organizations_url":"https://api.github.com/users/disjunction/orgs","repos_url":"https://api.github.com/users/disjunction/repos","events_url":"https://api.github.com/users/disjunction/events{/privacy}","received_events_url":"https://api.github.com/users/disjunction/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T14:42:34Z","updated_at":"2015-07-01T14:42:34Z","body":"Hi,\r\ni didn't try it, but it seems like setting\r\n\r\n    viewport.position = new fabric.Point(0, 0);\r\n\r\n... should do the trick"}}