1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-20 10:32:45 +02:00

getImageData also faked when using fakeInput mode.

This commit is contained in:
kkapsner 2017-09-23 23:23:12 +02:00
parent 1a73fc90e4
commit 8fc5ee45c2

View File

@ -263,7 +263,7 @@
getStatus: function(obj, status){
var status = Object.create(status);
if (hasType(status, "input")){
var contextType = canvasContextType.get(obj);
var contextType = canvasContextType.get(obj && obj.canvas);
status.active = contextType !== "2d";
}
else {