{"action":"closed","issue":{"url":"https://api.github.com/repos/purescript-contrib/purescript-canvas/issues/49","repository_url":"https://api.github.com/repos/purescript-contrib/purescript-canvas","labels_url":"https://api.github.com/repos/purescript-contrib/purescript-canvas/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/purescript-contrib/purescript-canvas/issues/49/comments","events_url":"https://api.github.com/repos/purescript-contrib/purescript-canvas/issues/49/events","html_url":"https://github.com/purescript-contrib/purescript-canvas/issues/49","id":248520446,"number":49,"title":"Rotate does not work","user":{"login":"stifspear","id":18092596,"avatar_url":"https://avatars3.githubusercontent.com/u/18092596?v=4","gravatar_id":"","url":"https://api.github.com/users/stifspear","html_url":"https://github.com/stifspear","followers_url":"https://api.github.com/users/stifspear/followers","following_url":"https://api.github.com/users/stifspear/following{/other_user}","gists_url":"https://api.github.com/users/stifspear/gists{/gist_id}","starred_url":"https://api.github.com/users/stifspear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stifspear/subscriptions","organizations_url":"https://api.github.com/users/stifspear/orgs","repos_url":"https://api.github.com/users/stifspear/repos","events_url":"https://api.github.com/users/stifspear/events{/privacy}","received_events_url":"https://api.github.com/users/stifspear/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-07T20:22:54Z","updated_at":"2017-08-07T20:36:38Z","closed_at":"2017-08-07T20:36:38Z","body":"Hello sir,\r\n\r\nI am stuck at this problem for quite some time now. I am trying to rotate a canvas but failing. What might be wrong in this snipped. I am using canvas library. It is compiling fine but the canvas does not rotate. I have tried differed rotation angles.\r\n\r\n```purescript\r\nrotateLogo :: Eff (canvas :: CANVAS) Unit\r\nrotateLogo = void $ unsafePartial do\r\n  Just canvas <- getCanvasElementById \"canvas\"\r\n  ctx <- getContext2D canvas\r\n  void $ rotate (pi * 1.5 ) ctx\r\n  translate { translateX : 0.0, translateY : 0.0 } ctx\r\n```"}}
{"actor":{"display_login":"paf31"}}