{"action":"opened","issue":{"url":"https://api.github.com/repos/lakenen/teledraw-canvas/issues/6","repository_url":"https://api.github.com/repos/lakenen/teledraw-canvas","labels_url":"https://api.github.com/repos/lakenen/teledraw-canvas/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/lakenen/teledraw-canvas/issues/6/comments","events_url":"https://api.github.com/repos/lakenen/teledraw-canvas/issues/6/events","html_url":"https://github.com/lakenen/teledraw-canvas/issues/6","id":200005686,"number":6,"title":"Background image reseting every time when I try to zoom, draw and all","user":{"login":"mallikarjunch007","id":3157982,"avatar_url":"https://avatars.githubusercontent.com/u/3157982?v=3","gravatar_id":"","url":"https://api.github.com/users/mallikarjunch007","html_url":"https://github.com/mallikarjunch007","followers_url":"https://api.github.com/users/mallikarjunch007/followers","following_url":"https://api.github.com/users/mallikarjunch007/following{/other_user}","gists_url":"https://api.github.com/users/mallikarjunch007/gists{/gist_id}","starred_url":"https://api.github.com/users/mallikarjunch007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallikarjunch007/subscriptions","organizations_url":"https://api.github.com/users/mallikarjunch007/orgs","repos_url":"https://api.github.com/users/mallikarjunch007/repos","events_url":"https://api.github.com/users/mallikarjunch007/events{/privacy}","received_events_url":"https://api.github.com/users/mallikarjunch007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T05:18:02Z","updated_at":"2017-01-11T05:18:02Z","closed_at":null,"body":"I am using your API, its really very nice, I drawing one image on canvas using drawImage method but when I try to draw and zoom image is disappearing, please help me.. I am new to this \r\n\r\nvar canvas = document.getElementById(\"test-canvas\"),\r\n\t\t     ctx = canvas.getContext(\"2d\");\r\n\r\n\t\t     canvas.width = 512;\r\n\t\t     canvas.height = 512;\r\n  \r\n  \r\n\t\t     var background = new Image();\r\n\t\t     background.src = \"img/yf6d9SX.jpg\";\r\n\r\n\t\t     background.onload = function(){\r\n\t\t        ctx.drawImage(background,0,0);   \r\n\t\t     }  \r\nabove code im using first time to draw image on canvas\r\nPlease help me quickly.."}}
{"actor":{"display_login":"mallikarjunch007"}}