{"action":"created","issue":{"url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/60","repository_url":"https://api.github.com/repos/NaturalIntelligence/imglab","labels_url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/60/comments","events_url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/60/events","html_url":"https://github.com/NaturalIntelligence/imglab/pull/60","id":337420626,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjA4NzQ5","number":60,"title":"Fix for Issue 30: svg shape should not be draggable","user":{"login":"rohitkrishna094","id":18495886,"node_id":"MDQ6VXNlcjE4NDk1ODg2","avatar_url":"https://avatars1.githubusercontent.com/u/18495886?v=4","gravatar_id":"","url":"https://api.github.com/users/rohitkrishna094","html_url":"https://github.com/rohitkrishna094","followers_url":"https://api.github.com/users/rohitkrishna094/followers","following_url":"https://api.github.com/users/rohitkrishna094/following{/other_user}","gists_url":"https://api.github.com/users/rohitkrishna094/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitkrishna094/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitkrishna094/subscriptions","organizations_url":"https://api.github.com/users/rohitkrishna094/orgs","repos_url":"https://api.github.com/users/rohitkrishna094/repos","events_url":"https://api.github.com/users/rohitkrishna094/events{/privacy}","received_events_url":"https://api.github.com/users/rohitkrishna094/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-02T08:40:32Z","updated_at":"2018-07-02T09:02:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NaturalIntelligence/imglab/pulls/60","html_url":"https://github.com/NaturalIntelligence/imglab/pull/60","diff_url":"https://github.com/NaturalIntelligence/imglab/pull/60.diff","patch_url":"https://github.com/NaturalIntelligence/imglab/pull/60.patch"},"body":"# Purpose / Goal\r\nThis tries to fix issue #30 .\r\n\r\n# Type\r\nPlease mention the type of PR\r\n\r\n* [X] Bug Fix\r\n* [ ] Refactoring / Technology upgrade\r\n* [ ] New Feature\r\n* [ ] Documentation\r\n* [ ] Other : | Please Specify |\r\n\r\n\r\n**Note** : Please ensure that you've read contribution [guidelines](CONTRIBUTING.md) before raising this PR.\r\n"},"comment":{"url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/comments/401722987","html_url":"https://github.com/NaturalIntelligence/imglab/pull/60#issuecomment-401722987","issue_url":"https://api.github.com/repos/NaturalIntelligence/imglab/issues/60","id":401722987,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTcyMjk4Nw==","user":{"login":"rohitkrishna094","id":18495886,"node_id":"MDQ6VXNlcjE4NDk1ODg2","avatar_url":"https://avatars1.githubusercontent.com/u/18495886?v=4","gravatar_id":"","url":"https://api.github.com/users/rohitkrishna094","html_url":"https://github.com/rohitkrishna094","followers_url":"https://api.github.com/users/rohitkrishna094/followers","following_url":"https://api.github.com/users/rohitkrishna094/following{/other_user}","gists_url":"https://api.github.com/users/rohitkrishna094/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitkrishna094/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitkrishna094/subscriptions","organizations_url":"https://api.github.com/users/rohitkrishna094/orgs","repos_url":"https://api.github.com/users/rohitkrishna094/repos","events_url":"https://api.github.com/users/rohitkrishna094/events{/privacy}","received_events_url":"https://api.github.com/users/rohitkrishna094/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T09:02:34Z","updated_at":"2018-07-02T09:02:34Z","author_association":"CONTRIBUTOR","body":"If I clicked on the point tool, how do I trigger that event? Because point tool is on toolbar div which is not part of workarea.tag. I tried using `$(#toolbar).on('click', ....)` but the problem with that approach is that I am unable to access the `selectedTool` property (which I believe is being passed by riot?) because this jquery runs before selectedTool is initialized. So if I try to access `selectedTool` property inside this jquery onclick event, its null. I can access selectedTool in myCanvas.on event handler though. The problem with that is as I mentioned in my previous comment. "}}
{"actor":{"display_login":"rohitkrishna094"}}