{"action":"created","issue":{"url":"https://api.github.com/repos/skidding/dragdealer/issues/122","repository_url":"https://api.github.com/repos/skidding/dragdealer","labels_url":"https://api.github.com/repos/skidding/dragdealer/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/skidding/dragdealer/issues/122/comments","events_url":"https://api.github.com/repos/skidding/dragdealer/issues/122/events","html_url":"https://github.com/skidding/dragdealer/pull/122","id":283299220,"number":122,"title":"Changed startTap() behavior when option.snap=true","user":{"login":"IanCaio","id":22241596,"avatar_url":"https://avatars2.githubusercontent.com/u/22241596?v=4","gravatar_id":"","url":"https://api.github.com/users/IanCaio","html_url":"https://github.com/IanCaio","followers_url":"https://api.github.com/users/IanCaio/followers","following_url":"https://api.github.com/users/IanCaio/following{/other_user}","gists_url":"https://api.github.com/users/IanCaio/gists{/gist_id}","starred_url":"https://api.github.com/users/IanCaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanCaio/subscriptions","organizations_url":"https://api.github.com/users/IanCaio/orgs","repos_url":"https://api.github.com/users/IanCaio/repos","events_url":"https://api.github.com/users/IanCaio/events{/privacy}","received_events_url":"https://api.github.com/users/IanCaio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-19T16:50:46Z","updated_at":"2017-12-21T19:11:49Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/skidding/dragdealer/pulls/122","html_url":"https://github.com/skidding/dragdealer/pull/122","diff_url":"https://github.com/skidding/dragdealer/pull/122.diff","patch_url":"https://github.com/skidding/dragdealer/pull/122.patch"},"body":"When we have a slider that is restricted to steps and has the snap option set, it's more intuitive to think that when the user clicks the wrapper, the handle will jump straight to the closest step. The new code adds this behavior exclusively for this case (option.steps > 0 and option.snap == true). All the other cases behave as before, setting a target value depending on the distance from the mouse to the handle."},"comment":{"url":"https://api.github.com/repos/skidding/dragdealer/issues/comments/353433183","html_url":"https://github.com/skidding/dragdealer/pull/122#issuecomment-353433183","issue_url":"https://api.github.com/repos/skidding/dragdealer/issues/122","id":353433183,"user":{"login":"IanCaio","id":22241596,"avatar_url":"https://avatars2.githubusercontent.com/u/22241596?v=4","gravatar_id":"","url":"https://api.github.com/users/IanCaio","html_url":"https://github.com/IanCaio","followers_url":"https://api.github.com/users/IanCaio/followers","following_url":"https://api.github.com/users/IanCaio/following{/other_user}","gists_url":"https://api.github.com/users/IanCaio/gists{/gist_id}","starred_url":"https://api.github.com/users/IanCaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanCaio/subscriptions","organizations_url":"https://api.github.com/users/IanCaio/orgs","repos_url":"https://api.github.com/users/IanCaio/repos","events_url":"https://api.github.com/users/IanCaio/events{/privacy}","received_events_url":"https://api.github.com/users/IanCaio/received_events","type":"User","site_admin":false},"created_at":"2017-12-21T19:11:49Z","updated_at":"2017-12-21T19:11:49Z","author_association":"NONE","body":"Thanks @skidding , you are right! I completely missed that method.\r\nI just changed the code to use `this.getClosestStep` instead and I'm about to push the commit."}}
{"actor":{"display_login":"IanCaio"}}