{"action":"opened","issue":{"url":"https://api.github.com/repos/hyspace/RainSaver/issues/1","labels_url":"https://api.github.com/repos/hyspace/RainSaver/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hyspace/RainSaver/issues/1/comments","events_url":"https://api.github.com/repos/hyspace/RainSaver/issues/1/events","html_url":"https://github.com/hyspace/RainSaver/issues/1","id":54563309,"number":1,"title":"When taking screenshot","user":{"login":"ScaredyCat","id":168872,"avatar_url":"https://avatars.githubusercontent.com/u/168872?v=3","gravatar_id":"","url":"https://api.github.com/users/ScaredyCat","html_url":"https://github.com/ScaredyCat","followers_url":"https://api.github.com/users/ScaredyCat/followers","following_url":"https://api.github.com/users/ScaredyCat/following{/other_user}","gists_url":"https://api.github.com/users/ScaredyCat/gists{/gist_id}","starred_url":"https://api.github.com/users/ScaredyCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScaredyCat/subscriptions","organizations_url":"https://api.github.com/users/ScaredyCat/orgs","repos_url":"https://api.github.com/users/ScaredyCat/repos","events_url":"https://api.github.com/users/ScaredyCat/events{/privacy}","received_events_url":"https://api.github.com/users/ScaredyCat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-16T10:59:10Z","updated_at":"2015-01-16T10:59:10Z","closed_at":null,"body":"I can't actually get this to run without horribly crashing. It might be something I've done wrong, but I get screen corruption and the default screensaver takes over. I've using Yosemite.\r\n\r\nI also have a tip for when to take your screenshot to make sure it's not black.\r\n\r\n+ (BOOL)performGammaFade\r\n{\r\n    if (!Snapped) {\r\n       \r\n        Snapped = TRUE;\r\n        // take screenshot here\r\n        \r\n    }\r\n    return YES;  // or NO if you don't want a nice fade\r\n}\r\n"}}