mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-04-18 08:08:28 +02: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){
|
getStatus: function(obj, status){
|
||||||
var status = Object.create(status);
|
var status = Object.create(status);
|
||||||
if (hasType(status, "input")){
|
if (hasType(status, "input")){
|
||||||
var contextType = canvasContextType.get(obj);
|
var contextType = canvasContextType.get(obj && obj.canvas);
|
||||||
status.active = contextType !== "2d";
|
status.active = contextType !== "2d";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user