reference to wrong ctx in hasGlobalAlpha
This commit is contained in:
parent
1c13a04798
commit
ef683584f7
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ var Pixastic = (function() {
|
||||||
|
|
||||||
var blue = document.createElement("canvas");
|
var blue = document.createElement("canvas");
|
||||||
blue.width = blue.height = 1;
|
blue.width = blue.height = 1;
|
||||||
var bluectx = red.getContext("2d");
|
var bluectx = blue.getContext("2d");
|
||||||
bluectx.fillStyle = "rgb(0,0,255)";
|
bluectx.fillStyle = "rgb(0,0,255)";
|
||||||
bluectx.fillRect(0,0,1,1);
|
bluectx.fillRect(0,0,1,1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue