{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/1140","labels_url":"https://api.github.com/repos/novus/nvd3/issues/1140/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/1140/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/1140/events","html_url":"https://github.com/novus/nvd3/pull/1140","id":95023657,"number":1140,"title":"initial commit (to src instead of build)","user":{"login":"jmensch1","id":9143823,"avatar_url":"https://avatars.githubusercontent.com/u/9143823?v=3","gravatar_id":"","url":"https://api.github.com/users/jmensch1","html_url":"https://github.com/jmensch1","followers_url":"https://api.github.com/users/jmensch1/followers","following_url":"https://api.github.com/users/jmensch1/following{/other_user}","gists_url":"https://api.github.com/users/jmensch1/gists{/gist_id}","starred_url":"https://api.github.com/users/jmensch1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmensch1/subscriptions","organizations_url":"https://api.github.com/users/jmensch1/orgs","repos_url":"https://api.github.com/users/jmensch1/repos","events_url":"https://api.github.com/users/jmensch1/events{/privacy}","received_events_url":"https://api.github.com/users/jmensch1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T19:48:09Z","updated_at":"2015-07-14T19:56:41Z","closed_at":"2015-07-14T19:56:37Z","pull_request":{"url":"https://api.github.com/repos/novus/nvd3/pulls/1140","html_url":"https://github.com/novus/nvd3/pull/1140","diff_url":"https://github.com/novus/nvd3/pull/1140.diff","patch_url":"https://github.com/novus/nvd3/pull/1140.patch"},"body":"Okay, I'm trying this again after fixing that build issue.\r\n\r\nThis is a one-line fix for Issue #1124. As I said there, the tooltip with 'w' gravity was jumping down when it hit the top of the window, instead of staying at the top. (The problem did not exist when the tooltip hit the bottom of the window).\r\n\r\nIf you look at the switch statement that calculates the 'top' for each of the four gravity types, it's pretty clear that the 'top' formula for 'w' was accidentally taken from the 'left' formula for 'n' and 's'. My fix simply makes the 'top' formula for 'w' the same as the 'top' formula for 'e'.\r\n\r\nBefore and after pics are attached. The important points in the pics are the location of the mouse vs. the location of the tooltip.\r\n\r\nThanks much,\r\nJake\r\n\r\nBefore: tooltip jumping down when it hits top of window\r\n<img width=\"907\" alt=\"before\" src=\"https://cloud.githubusercontent.com/assets/9143823/8683167/0820da20-2a26-11e5-8e0b-93db0c37d00c.png\">\r\n\r\nAfter: tooltip hugs top of window\r\n<img width=\"907\" alt=\"after\" src=\"https://cloud.githubusercontent.com/assets/9143823/8683181/19a45a06-2a26-11e5-9d4a-9368f1ade67b.png\">\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/121363174","html_url":"https://github.com/novus/nvd3/pull/1140#issuecomment-121363174","issue_url":"https://api.github.com/repos/novus/nvd3/issues/1140","id":121363174,"user":{"login":"liquidpele","id":1065913,"avatar_url":"https://avatars.githubusercontent.com/u/1065913?v=3","gravatar_id":"","url":"https://api.github.com/users/liquidpele","html_url":"https://github.com/liquidpele","followers_url":"https://api.github.com/users/liquidpele/followers","following_url":"https://api.github.com/users/liquidpele/following{/other_user}","gists_url":"https://api.github.com/users/liquidpele/gists{/gist_id}","starred_url":"https://api.github.com/users/liquidpele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquidpele/subscriptions","organizations_url":"https://api.github.com/users/liquidpele/orgs","repos_url":"https://api.github.com/users/liquidpele/repos","events_url":"https://api.github.com/users/liquidpele/events{/privacy}","received_events_url":"https://api.github.com/users/liquidpele/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T19:56:41Z","updated_at":"2015-07-14T19:56:41Z","body":"cool, thanks! "}}