mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
getImageData also faked when using fakeInput mode.
This commit is contained in:
parent
1a73fc90e4
commit
8fc5ee45c2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user