Merge pull request #10879 from ahocevar/no-append
Do not append hit canvas to document body
This commit is contained in:
@@ -125,7 +125,6 @@ export function createHitDetectionImageData(size, transforms, features, styleFun
|
||||
}
|
||||
}
|
||||
}
|
||||
document.body.appendChild(context.canvas);
|
||||
return context.getImageData(0, 0, canvas.width, canvas.height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user