{"action":"created","issue":{"url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/79","labels_url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/79/comments","events_url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/79/events","html_url":"https://github.com/davetayls/jquery.kinetic/issues/79","id":69124898,"number":79,"title":"Make the listeners return current scroll positions.","user":{"login":"ZwaarContrast","id":1869392,"avatar_url":"https://avatars.githubusercontent.com/u/1869392?v=3","gravatar_id":"","url":"https://api.github.com/users/ZwaarContrast","html_url":"https://github.com/ZwaarContrast","followers_url":"https://api.github.com/users/ZwaarContrast/followers","following_url":"https://api.github.com/users/ZwaarContrast/following{/other_user}","gists_url":"https://api.github.com/users/ZwaarContrast/gists{/gist_id}","starred_url":"https://api.github.com/users/ZwaarContrast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZwaarContrast/subscriptions","organizations_url":"https://api.github.com/users/ZwaarContrast/orgs","repos_url":"https://api.github.com/users/ZwaarContrast/repos","events_url":"https://api.github.com/users/ZwaarContrast/events{/privacy}","received_events_url":"https://api.github.com/users/ZwaarContrast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T11:56:41Z","updated_at":"2015-04-17T12:04:49Z","closed_at":"2015-04-17T12:01:39Z","body":"I propose implementing a system where the listeners for moved and stopped return the current scroll position.\r\n\r\nCan probably by realised by changing `Kinetic.prototype.stop` and change the line `this.settings.stopped.call(this);` to `this.settings.stopped.call(this,settings,{left: this.scrollLeft(),top: this.scrollTop());`\r\n\r\nAccording to the current documentation the stopped function also returns the settings, which it doesn't. It does work as documented in the moved function. This is fixed in the above mentioned change.\r\n\r\nShould also be changed in `Kinetic.prototype._move`. Change  `settings.moved.call(this, settings);` to `this.settings.moved.call(this,settings,{left: this.scrollLeft(),top: this.scrollTop());`"},"comment":{"url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/comments/93973158","html_url":"https://github.com/davetayls/jquery.kinetic/issues/79#issuecomment-93973158","issue_url":"https://api.github.com/repos/davetayls/jquery.kinetic/issues/79","id":93973158,"user":{"login":"davetayls","id":151695,"avatar_url":"https://avatars.githubusercontent.com/u/151695?v=3","gravatar_id":"","url":"https://api.github.com/users/davetayls","html_url":"https://github.com/davetayls","followers_url":"https://api.github.com/users/davetayls/followers","following_url":"https://api.github.com/users/davetayls/following{/other_user}","gists_url":"https://api.github.com/users/davetayls/gists{/gist_id}","starred_url":"https://api.github.com/users/davetayls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davetayls/subscriptions","organizations_url":"https://api.github.com/users/davetayls/orgs","repos_url":"https://api.github.com/users/davetayls/repos","events_url":"https://api.github.com/users/davetayls/events{/privacy}","received_events_url":"https://api.github.com/users/davetayls/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T12:04:49Z","updated_at":"2015-04-17T12:04:49Z","body":"no worries, i've updated the docs :smile: "}}