{"action":"closed","issue":{"url":"https://api.github.com/repos/google/blockly/issues/170","labels_url":"https://api.github.com/repos/google/blockly/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/google/blockly/issues/170/comments","events_url":"https://api.github.com/repos/google/blockly/issues/170/events","html_url":"https://github.com/google/blockly/issues/170","id":105020425,"number":170,"title":"Fix coordinates","user":{"login":"Maluma1","id":12870488,"avatar_url":"https://avatars.githubusercontent.com/u/12870488?v=3","gravatar_id":"","url":"https://api.github.com/users/Maluma1","html_url":"https://github.com/Maluma1","followers_url":"https://api.github.com/users/Maluma1/followers","following_url":"https://api.github.com/users/Maluma1/following{/other_user}","gists_url":"https://api.github.com/users/Maluma1/gists{/gist_id}","starred_url":"https://api.github.com/users/Maluma1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maluma1/subscriptions","organizations_url":"https://api.github.com/users/Maluma1/orgs","repos_url":"https://api.github.com/users/Maluma1/repos","events_url":"https://api.github.com/users/Maluma1/events{/privacy}","received_events_url":"https://api.github.com/users/Maluma1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-05T10:47:20Z","updated_at":"2015-09-13T01:27:03Z","closed_at":"2015-09-13T01:27:03Z","body":"It might be useful to add a few lines at the end of the Blockly.convertCoordinates function to adjust the coordinates of the mouse when using the zoom attribute:\r\n\r\n    Blockly.convertCoordinates = function(x, y, toSvg) {\r\n    ...\r\n    xy.x=xy.x/$(\"body\").css(\"zoom\");\r\n    xy.y=xy.y/$(\"body\").css(\"zoom\");\r\n    return xy;\r\n    };\r\n\r\nSorry for my bad English"}}