{"action":"created","issue":{"url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/301","labels_url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/301/comments","events_url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/301/events","html_url":"https://github.com/literallycanvas/literallycanvas/issues/301","id":101147322,"number":301,"title":"Can't call lc.drawShapeInProgress() on an image","user":{"login":"178620086","id":8434253,"avatar_url":"https://avatars.githubusercontent.com/u/8434253?v=3","gravatar_id":"","url":"https://api.github.com/users/178620086","html_url":"https://github.com/178620086","followers_url":"https://api.github.com/users/178620086/followers","following_url":"https://api.github.com/users/178620086/following{/other_user}","gists_url":"https://api.github.com/users/178620086/gists{/gist_id}","starred_url":"https://api.github.com/users/178620086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/178620086/subscriptions","organizations_url":"https://api.github.com/users/178620086/orgs","repos_url":"https://api.github.com/users/178620086/repos","events_url":"https://api.github.com/users/178620086/events{/privacy}","received_events_url":"https://api.github.com/users/178620086/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/literallycanvas/literallycanvas/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/literallycanvas/literallycanvas/milestones/12","html_url":"https://github.com/literallycanvas/literallycanvas/milestones/v0.4.6","labels_url":"https://api.github.com/repos/literallycanvas/literallycanvas/milestones/12/labels","id":1256445,"number":12,"title":"v0.4.6","description":"","creator":{"login":"irskep","id":40085,"avatar_url":"https://avatars.githubusercontent.com/u/40085?v=3","gravatar_id":"","url":"https://api.github.com/users/irskep","html_url":"https://github.com/irskep","followers_url":"https://api.github.com/users/irskep/followers","following_url":"https://api.github.com/users/irskep/following{/other_user}","gists_url":"https://api.github.com/users/irskep/gists{/gist_id}","starred_url":"https://api.github.com/users/irskep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irskep/subscriptions","organizations_url":"https://api.github.com/users/irskep/orgs","repos_url":"https://api.github.com/users/irskep/repos","events_url":"https://api.github.com/users/irskep/events{/privacy}","received_events_url":"https://api.github.com/users/irskep/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-08-15T17:14:08Z","updated_at":"2015-08-15T17:18:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-15T06:28:43Z","updated_at":"2015-08-16T00:49:25Z","closed_at":null,"body":"I see the Api to create a Image\r\nlike \r\n<pre lang=\"js\">\r\nLC.createShape(\"Image\",{image: img, x: demo.nowPt.x, y: demo.nowPt.y,scale:0.5});\r\n</pre>\r\nbut return Object shape is no scale prop.\r\n<pre>\r\nObject {x: 391, y: 255, image: img, id: \"e0a08212-0d88-2439-2a37-3799c55bbe65\"}\r\n</pre>\r\nand in script also not to use scale \r\n\r\n<pre lang='js'>\r\ndefineCanvasRenderer('Image', function(ctx, shape, retryCallback) {\r\n  if (shape.image.width) {\r\n    console.info(shape);\r\n    return ctx.drawImage(shape.image, shape.x, shape.y);\r\n  } else if (retryCallback) {\r\n    return shape.image.onload = retryCallback;\r\n  }\r\n});\r\n</pre>\r\nnew find image shape is can not to use LC.drawShapeInProgress !!!\r\nis not className?\r\n\r\nthis is a bug ?"},"comment":{"url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/comments/131472665","html_url":"https://github.com/literallycanvas/literallycanvas/issues/301#issuecomment-131472665","issue_url":"https://api.github.com/repos/literallycanvas/literallycanvas/issues/301","id":131472665,"user":{"login":"178620086","id":8434253,"avatar_url":"https://avatars.githubusercontent.com/u/8434253?v=3","gravatar_id":"","url":"https://api.github.com/users/178620086","html_url":"https://github.com/178620086","followers_url":"https://api.github.com/users/178620086/followers","following_url":"https://api.github.com/users/178620086/following{/other_user}","gists_url":"https://api.github.com/users/178620086/gists{/gist_id}","starred_url":"https://api.github.com/users/178620086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/178620086/subscriptions","organizations_url":"https://api.github.com/users/178620086/orgs","repos_url":"https://api.github.com/users/178620086/repos","events_url":"https://api.github.com/users/178620086/events{/privacy}","received_events_url":"https://api.github.com/users/178620086/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T00:49:25Z","updated_at":"2015-08-16T00:49:25Z","body":"thank you \r\nbut we need this function fast.\r\nhow can i fix the ?\r\n"}}