{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/414","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/414/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/414/events","html_url":"https://github.com/mapbox/mapbox-gl-draw/pull/414","id":162256428,"number":414,"title":"Studio inspired fixes","user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-25T01:28:53Z","updated_at":"2016-06-28T14:43:37Z","closed_at":"2016-06-28T14:41:09Z","pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/pulls/414","html_url":"https://github.com/mapbox/mapbox-gl-draw/pull/414","diff_url":"https://github.com/mapbox/mapbox-gl-draw/pull/414.diff","patch_url":"https://github.com/mapbox/mapbox-gl-draw/pull/414.patch"},"body":"- Add `Draw.getMode()` API function, so Studio could tell if it needed to update Draw's mode.\r\n- Make `Draw.set()` re-render when it's done deleting.\r\n- Prevent box selecting from happening because you shift+double-clicked to zoom out\r\n- Exit `direct_select` mode if the selected feature has been deleted\r\n- Add `Draw.setSelected()` to API as a preferable way to select items programmatically, instead of needing to change mode to `simple_select` and specifying features.\r\n- Fix cursors so the right ones show and they change as the mouse moves.\r\n- Fix this: create a feature, then before deselecting it try to drag it — it's like the browser tries to treat it as a file that you're dragging and dropping. Fixed by re-rendering the feature when you mousedown on it.\r\n\r\nMight accumulate more ..."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/comments/229070930","html_url":"https://github.com/mapbox/mapbox-gl-draw/pull/414#issuecomment-229070930","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/414","id":229070930,"user":{"login":"mcwhittemore","id":1551510,"avatar_url":"https://avatars.githubusercontent.com/u/1551510?v=3","gravatar_id":"","url":"https://api.github.com/users/mcwhittemore","html_url":"https://github.com/mcwhittemore","followers_url":"https://api.github.com/users/mcwhittemore/followers","following_url":"https://api.github.com/users/mcwhittemore/following{/other_user}","gists_url":"https://api.github.com/users/mcwhittemore/gists{/gist_id}","starred_url":"https://api.github.com/users/mcwhittemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcwhittemore/subscriptions","organizations_url":"https://api.github.com/users/mcwhittemore/orgs","repos_url":"https://api.github.com/users/mcwhittemore/repos","events_url":"https://api.github.com/users/mcwhittemore/events{/privacy}","received_events_url":"https://api.github.com/users/mcwhittemore/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T14:43:37Z","updated_at":"2016-06-28T14:43:37Z","body":"@davidtheclark merged and published at 0.11.0."}}
{"actor":{"display_login":"mcwhittemore"}}