{"action":"created","issue":{"url":"https://api.github.com/repos/Patch67/Graphics/issues/7","labels_url":"https://api.github.com/repos/Patch67/Graphics/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Patch67/Graphics/issues/7/comments","events_url":"https://api.github.com/repos/Patch67/Graphics/issues/7/events","html_url":"https://github.com/Patch67/Graphics/issues/7","id":80709282,"number":7,"title":"Multiple snaps","user":{"login":"Patch67","id":12051468,"avatar_url":"https://avatars.githubusercontent.com/u/12051468?v=3","gravatar_id":"","url":"https://api.github.com/users/Patch67","html_url":"https://github.com/Patch67","followers_url":"https://api.github.com/users/Patch67/followers","following_url":"https://api.github.com/users/Patch67/following{/other_user}","gists_url":"https://api.github.com/users/Patch67/gists{/gist_id}","starred_url":"https://api.github.com/users/Patch67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patch67/subscriptions","organizations_url":"https://api.github.com/users/Patch67/orgs","repos_url":"https://api.github.com/users/Patch67/repos","events_url":"https://api.github.com/users/Patch67/events{/privacy}","received_events_url":"https://api.github.com/users/Patch67/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T23:43:31Z","updated_at":"2015-05-29T15:18:42Z","closed_at":"2015-05-29T15:18:42Z","body":"At present the system only allows one snap at a time.\r\nSometimes the snap you want to overridden by a snap you don't want.\r\nFor example snap to horizontal and vertical will override any other snaps.\r\nAlso inline snaps seem to hide end point snaps when end point snaps might be better suited.\r\nInline snap only match only x or y whereas an end point snap would match x & y"},"comment":{"url":"https://api.github.com/repos/Patch67/Graphics/issues/comments/106843677","html_url":"https://github.com/Patch67/Graphics/issues/7#issuecomment-106843677","issue_url":"https://api.github.com/repos/Patch67/Graphics/issues/7","id":106843677,"user":{"login":"Patch67","id":12051468,"avatar_url":"https://avatars.githubusercontent.com/u/12051468?v=3","gravatar_id":"","url":"https://api.github.com/users/Patch67","html_url":"https://github.com/Patch67","followers_url":"https://api.github.com/users/Patch67/followers","following_url":"https://api.github.com/users/Patch67/following{/other_user}","gists_url":"https://api.github.com/users/Patch67/gists{/gist_id}","starred_url":"https://api.github.com/users/Patch67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patch67/subscriptions","organizations_url":"https://api.github.com/users/Patch67/orgs","repos_url":"https://api.github.com/users/Patch67/repos","events_url":"https://api.github.com/users/Patch67/events{/privacy}","received_events_url":"https://api.github.com/users/Patch67/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T15:18:42Z","updated_at":"2015-05-29T15:18:42Z","body":"Sovled this by using a list of snaps.\r\nChanging snap class to accept a distance.\r\nSort the list of snaps by distance\r\nReturn the first, i.e. closest snap."}}