reference to wrong ctx in hasGlobalAlpha

This commit is contained in:
root 2009-10-24 11:42:38 +02:00
parent 1c13a04798
commit ef683584f7

View file

@ -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);