{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/4773","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/4773/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/4773/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/4773/events","html_url":"https://github.com/kangax/fabric.js/issues/4773","id":301233189,"number":4773,"title":"setLeft setTop not supported anymore?","user":{"login":"bschelling","id":2998983,"avatar_url":"https://avatars0.githubusercontent.com/u/2998983?v=4","gravatar_id":"","url":"https://api.github.com/users/bschelling","html_url":"https://github.com/bschelling","followers_url":"https://api.github.com/users/bschelling/followers","following_url":"https://api.github.com/users/bschelling/following{/other_user}","gists_url":"https://api.github.com/users/bschelling/gists{/gist_id}","starred_url":"https://api.github.com/users/bschelling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bschelling/subscriptions","organizations_url":"https://api.github.com/users/bschelling/orgs","repos_url":"https://api.github.com/users/bschelling/repos","events_url":"https://api.github.com/users/bschelling/events{/privacy}","received_events_url":"https://api.github.com/users/bschelling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T00:15:34Z","updated_at":"2018-03-01T00:27:40Z","closed_at":"2018-03-01T00:27:40Z","author_association":"NONE","body":"just updated fabric.js to the latest version. i was using v2 rc4 and there svgfromurl/svgfromstring was broken. after update to latest version svgfromurl works again but setLeft/setTop breaks.  \r\n## Steps to reproduce\r\nvar rect = new fabric.Rect({ width: 10, height: 20, fill: '#f55'});\r\nrect.setLeft(100);\r\n## Expected Behavior\r\nmove the rect to the left  100px.\r\n## Actual Behavior\r\nuncaught TypeError: rect.setLeft is not a function\r\n"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/369431857","html_url":"https://github.com/kangax/fabric.js/issues/4773#issuecomment-369431857","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/4773","id":369431857,"user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars3.githubusercontent.com/u/1194048?v=4","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":"2018-03-01T00:27:40Z","updated_at":"2018-03-01T00:27:40Z","author_association":"COLLABORATOR","body":"setLeft and setTop are optional, you can add the back with a custom build:\r\n![image](https://user-images.githubusercontent.com/1194048/36820724-a8079a56-1cef-11e8-8cf9-d4d6ec4b9f2a.png)\r\n\r\nhere: http://fabricjs.com/build/\r\n\r\nor you can use the normal getters object.set(options) or object.set('top', 100)"}}
{"actor":{"display_login":"asturur"}}