mirror of
https://github.com/scratchfoundation/scratch-html5.git
synced 2024-12-01 03:16:59 -05:00
Fixed adding touch detection canvas to document
This commit is contained in:
parent
bc9e937b06
commit
968baec89f
1 changed files with 0 additions and 1 deletions
|
@ -251,7 +251,6 @@ Sprite.prototype.onClick = function(evt) {
|
|||
ctx.scale(scale, scale);
|
||||
ctx.translate(-rotationCenterX, -rotationCenterY);
|
||||
ctx.drawImage(this.mesh, 0, 0);
|
||||
document.body.appendChild(canv);
|
||||
|
||||
var idata = ctx.getImageData(mouseX, mouseY, 1, 1).data;
|
||||
var alpha = idata[3];
|
||||
|
|
Loading…
Reference in a new issue