{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/j2me.js/issues/1395","labels_url":"https://api.github.com/repos/mozilla/j2me.js/issues/1395/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/j2me.js/issues/1395/comments","events_url":"https://api.github.com/repos/mozilla/j2me.js/issues/1395/events","html_url":"https://github.com/mozilla/j2me.js/pull/1395","id":66981552,"number":1395,"title":"WIP: Fix objects returned from `Image.getGraphics`","user":{"login":"TimAbraldes","id":955084,"avatar_url":"https://avatars.githubusercontent.com/u/955084?v=3","gravatar_id":"","url":"https://api.github.com/users/TimAbraldes","html_url":"https://github.com/TimAbraldes","followers_url":"https://api.github.com/users/TimAbraldes/followers","following_url":"https://api.github.com/users/TimAbraldes/following{/other_user}","gists_url":"https://api.github.com/users/TimAbraldes/gists{/gist_id}","starred_url":"https://api.github.com/users/TimAbraldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimAbraldes/subscriptions","organizations_url":"https://api.github.com/users/TimAbraldes/orgs","repos_url":"https://api.github.com/users/TimAbraldes/repos","events_url":"https://api.github.com/users/TimAbraldes/events{/privacy}","received_events_url":"https://api.github.com/users/TimAbraldes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T20:20:06Z","updated_at":"2015-04-08T17:53:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/j2me.js/pulls/1395","html_url":"https://github.com/mozilla/j2me.js/pull/1395","diff_url":"https://github.com/mozilla/j2me.js/pull/1395.diff","patch_url":"https://github.com/mozilla/j2me.js/pull/1395.patch"},"body":"Fixes mozilla/j2me.j2#1383.\r\n\r\nFor each canvas context (1 for every `ImageData` object and 1 for the\r\nscreen canvas), keep track of what `Graphics` object has been applied to\r\nit. Whenever a property of the currently applied `Graphics` object\r\nchanges, remove the association of that object with the context since\r\nthey are no longer in sync.\r\n\r\nAdd a test that verifies that `Graphics` objects created from distinct\r\ncalls to `Image.getGraphics` on the same `Image` object do not interfere\r\nwith each other."},"comment":{"url":"https://api.github.com/repos/mozilla/j2me.js/issues/comments/90987446","html_url":"https://github.com/mozilla/j2me.js/pull/1395#issuecomment-90987446","issue_url":"https://api.github.com/repos/mozilla/j2me.js/issues/1395","id":90987446,"user":{"login":"TimAbraldes","id":955084,"avatar_url":"https://avatars.githubusercontent.com/u/955084?v=3","gravatar_id":"","url":"https://api.github.com/users/TimAbraldes","html_url":"https://github.com/TimAbraldes","followers_url":"https://api.github.com/users/TimAbraldes/followers","following_url":"https://api.github.com/users/TimAbraldes/following{/other_user}","gists_url":"https://api.github.com/users/TimAbraldes/gists{/gist_id}","starred_url":"https://api.github.com/users/TimAbraldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimAbraldes/subscriptions","organizations_url":"https://api.github.com/users/TimAbraldes/orgs","repos_url":"https://api.github.com/users/TimAbraldes/repos","events_url":"https://api.github.com/users/TimAbraldes/events{/privacy}","received_events_url":"https://api.github.com/users/TimAbraldes/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:53:37Z","updated_at":"2015-04-08T17:53:37Z","body":"Moving back to WIP while I figure out a visual artifact in a MIDlet I'm testing with"}}