mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
getImageData also faked when using fakeInput mode.
This commit is contained in:
parent
1a73fc90e4
commit
8fc5ee45c2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue