{"action":"created","issue":{"url":"https://api.github.com/repos/JunoLab/atom-ink/issues/9","labels_url":"https://api.github.com/repos/JunoLab/atom-ink/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/JunoLab/atom-ink/issues/9/comments","events_url":"https://api.github.com/repos/JunoLab/atom-ink/issues/9/events","html_url":"https://github.com/JunoLab/atom-ink/issues/9","id":105338185,"number":9,"title":"z-index of unfolded results","user":{"login":"Varanas","id":6735977,"avatar_url":"https://avatars.githubusercontent.com/u/6735977?v=3","gravatar_id":"","url":"https://api.github.com/users/Varanas","html_url":"https://github.com/Varanas","followers_url":"https://api.github.com/users/Varanas/followers","following_url":"https://api.github.com/users/Varanas/following{/other_user}","gists_url":"https://api.github.com/users/Varanas/gists{/gist_id}","starred_url":"https://api.github.com/users/Varanas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varanas/subscriptions","organizations_url":"https://api.github.com/users/Varanas/orgs","repos_url":"https://api.github.com/users/Varanas/repos","events_url":"https://api.github.com/users/Varanas/events{/privacy}","received_events_url":"https://api.github.com/users/Varanas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JunoLab/atom-ink/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T09:21:56Z","updated_at":"2015-09-10T19:10:12Z","closed_at":null,"body":"should be higher than that of folded results, so that this\r\n![zindex](https://cloud.githubusercontent.com/assets/6735977/9731179/b6b9d3ea-561b-11e5-9253-7b9b7153dca0.PNG)\r\ndoesn't happen."},"comment":{"url":"https://api.github.com/repos/JunoLab/atom-ink/issues/comments/139349196","html_url":"https://github.com/JunoLab/atom-ink/issues/9#issuecomment-139349196","issue_url":"https://api.github.com/repos/JunoLab/atom-ink/issues/9","id":139349196,"user":{"login":"Varanas","id":6735977,"avatar_url":"https://avatars.githubusercontent.com/u/6735977?v=3","gravatar_id":"","url":"https://api.github.com/users/Varanas","html_url":"https://github.com/Varanas","followers_url":"https://api.github.com/users/Varanas/followers","following_url":"https://api.github.com/users/Varanas/following{/other_user}","gists_url":"https://api.github.com/users/Varanas/gists{/gist_id}","starred_url":"https://api.github.com/users/Varanas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varanas/subscriptions","organizations_url":"https://api.github.com/users/Varanas/orgs","repos_url":"https://api.github.com/users/Varanas/repos","events_url":"https://api.github.com/users/Varanas/events{/privacy}","received_events_url":"https://api.github.com/users/Varanas/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T19:10:12Z","updated_at":"2015-09-10T19:10:12Z","body":"Slight caveat: What happens when there are multiple overlapping unfolded results? As I've implemented it now, the last evaluated result is on top, but that's unsatisfactory. So, two options:\r\n- Keep track of all folded results and assign them decreasing z-indeces (the one highest up also has the highest z-index)\r\n- give all unfolded results the same z-index and raise them to the foreground by clicking.\r\nI think I'd prefer the second option, though the first one is arguably more correct."}}